Get collaborator privileges

Get the role and privileges for a user you specify. This resource includes details for . and custom roles. This resource returns an array of roles for each environment in the workspace (for example, DEV, TEST, and PROD), which includes the following information:

  • Environment type
  • User role
  • All permissions assigned to the role

Your API client role must be assigned Get collaborator privileges GET /api/members/:id to use this endpoint.

Path parameters

idstringRequired
Collaborator ID.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Success reply
datalist of objects or null
List of roles with privileges assigned across different environments.

Errors