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.
<Note title="WORKSPACES WITHOUT ENVIRONMENTS ENABLED">Use `dev` as the `environment_type` for workspaces that do not have environments enabled.</Note>
<Warning title="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.</Warning>
Path parameters
id
Collaborator ID.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
env_roles
Environment roles to assign to the collaborator.
Response
Success reply
data