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_id
The Embedded customer ID or external ID. External IDs must be URL encoded and prefixed with an E
, for example: EA2300
.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
dry_run
When set to true
, roles are not migrated, but the JSON response is still returned. The default value is false
.
Response
Successful migration
environment_roles
project_roles
collaborators
projects
moderators