Get team custom roles

GET
/api/v2/teams/:teamKey/roles

Fetch the custom roles that have been assigned to the team. To learn more, read Managing team permissions.

Path parameters

teamKeystringRequired

The team key

Query parameters

limitlongOptional

The number of roles to return in the response. Defaults to 20.

offsetlongOptional

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Response

Team roles response

totalCountintegerOptional

The number of custom roles assigned to this team

itemslist of objectsOptional

An array of the custom roles that have been assigned to this team

Errors

Built with