Docs
Live demo
GET/api/v2/organizations/{id}/group-roles
members:readAPI token

List the groups of the organization that give their direct members an organization role. Needs members:read.

Parameters

Path1 required of 1
idstringpathrequired

Organization ID (UUID)

Responses

200

OK

OrgGroupRolesResponse · 1 field
itemsarray of OrgGroupRoleResponserequired
4 fields
groupOrgGroupRefrequired
2 fields
idstring · uuidrequired
labelstringrequired
rolestringrequired
adminvieweruser
custom_roleOrgCustomRoleRefrequired

A custom role of the organization.

can be null
2 fields
idstring · uuidrequired
namestringrequired
updated_atstring · date-timerequired
400

Bad Request: the organization ID is not a UUID.

403

Forbidden: the caller lacks members:read.

404

Not Found: the organization, role or group does not exist or belongs to another organization.

Common errors: 401 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close