Migrate customer workspace system roles

Converts legacy system roles into environment and project roles in an Embedded customer workspace. This endpoint is used to migrate users to the access control model.

Path parameters

managed_user_idstringRequired

The Embedded customer ID or external ID. External IDs must be URL encoded and prefixed with an E, for example: EA2300.

Headers

AuthorizationstringRequired

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

Query parameters

dry_runbooleanOptionalDefaults to false

When set to true, roles are not migrated, but the JSON response is still returned. The default value is false.

Response

Successful migration
environment_roleslist of objects or null
project_roleslist of objects or null
collaboratorslist of objects or null
projectslist of objects or null
moderatorslist of objects or null

Errors