GET
/{orgId}/{itemId}/jobTemplates/{jobTemplateId}/shareWith
Retrieve the list of groups that the job template is shared with by jobTemplateId. The adminBasic or adminAdvanced privilege is required.
Query parameters
Name | Type | Required |
---|---|---|
token | string¦null |
Path parameters
Name | Type | Required |
---|---|---|
job | string | |
org | string | |
item | string |
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The list of groups | groupIds |
400 | Bad Request | Error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobTemplates/{jobTemplateId}/shareWith \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"groupIds": [
"string"
]
}