Update collaborator roles

Update the roles of a specified collaborator. You can assign roles (such as Admin, Analyst, and Operator) or custom roles. To remove a collaborator’s access to an environment, include NoAccess in the request payload.

WORKSPACES WITHOUT ENVIRONMENTS ENABLED
Use dev as the environment_type for workspaces that do not have environments enabled.
EARLY ACCESS FEATURE
The env_roles[role_type]parameter is part of the access control limited preview. The access control model is under active development and may change. Contact your Customer Success Manager to participate in early access testing.

Path parameters

idstringRequired
Collaborator ID.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
env_roleslist of objectsRequired
Environment roles to assign to the collaborator.

Response

Success reply
dataobject

Errors