getJobTemplateShareDetails

Click to copy

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

token

string

Path parameters

NameTypeRequired

jobTemplateId

string

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobTemplates/{jobTemplateId}/shareWith \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

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

200

OK

The list of groups

groupIds

400

Bad Request

Error

WorkflowExceptionDTO

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