Update a custom role
Updates the projects accessible to a custom collaborator role. You can set the privilege to all projects or specific projects by their folder IDs. The folder IDs can be obtained with the GET folders endpoint.
Path parameters
id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
all_folders
Indicate whether the role has access to all the projects. Possible values are true
or false
. You must set this field to false
if you specify folder_ids
.
Allowed values:
folder_ids
Array of folder IDs.
Response
Details of a specific role with privileges
id
The unique identifier of the role.
name
The name of the role.
inheritable
Indicates whether the role is inheritable.
folder_ids
Array of folder IDs associated with the role.
created_at
The timestamp when the role was created.
updated_at
The timestamp when the role was last updated.
privileges
An object containing the privileges associated with the role.