Copy a custom role
Creates a copy of a custom role in a customer workspace with the ability to change the folders accessible by the role. The folder IDs can be obtained with the GET folders API endpoint (/api/managed_users/:managed_user_id/folders
).
Path parameters
managed_user_id
Embedded customer ID (external ID). The External ID must be URL encoded and prefixed with an E
. For example, EA2300
.
id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
Name of the new custom role.
folder_ids
Array of project folder IDs to override. The source folder IDs are copied if left blank.
Response
Success response
id
Unique identifier of the role.
name
Name of the role.
inheritable
Indicates whether the role is inheritable.
folder_ids
List of folder IDs associated with the role.
created_at
Timestamp when the role was created.
updated_at
Timestamp when the role was last updated.