Skip to content

getJobTemplateShareDetails

GET
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/jobTemplates/{jobTemplateId}/shareWith
Get share details of a job template

Retrieve the list of groups that the job template is shared with by jobTemplateId. The adminBasic or adminAdvanced privilege is required.

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
jobTemplateIdstring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

The list of groups

groupIds
400Bad Request

Error

WorkflowExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobTemplates/{jobTemplateId}/shareWith \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "groupIds": [
    "string"
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.