Migrate system roles

Converts legacy system roles into environment and project roles. This endpoint is used to migrate users to the new access control model.

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