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
id
Collaborator ID.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
Success reply
data
List of roles with privileges assigned across different environments.