Teams

Get available roles for a team

Returns the leader and member roles available for assignment in this team

get/v1/teams/{id}/roles

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Path parameters

idstring required

Response

Team roles retrieved successfully

builtinboolean

Whether this is a built-in role

createdAtstring date-time

When the role was created (null for system roles)

createdBystring

Who created the role (null for system roles)

descriptionstring required

Description of the role

effectstring

The effect of this role's permissions: 'allow' or 'deny'. Defaults to 'allow' for standard roles.

idstring required

The id of the role.

namestring required

The user-facing name of the role.

permissionIdsstring[] required

Permission IDs assigned to this role (empty for system roles)

Changes

No recorded changes to this operation across all 1 revision of this API.