Permissions
List team roles
Changed onReturns all roles configured for a team.
get/teams/{key}/roles
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
key, string required
Team identifier (ID or slug)
Response
OK
object required
roles, object[] required
Example response
{
"roles": [
{
"permissions": [
"team.read",
"team.member.write"
]
}
]
}Changes
- info
the
roles/items/idresponse's property pattern^prl_[0-9a-z]{26}$was added for the status - info
the
roles/items/permissions/itemsresponse's property pattern^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$was added for the status - info
the
roles/items/teamIdresponse's property pattern^tem_[0-9a-z]{26}$was added for the status
- info