Migrate a custom role

Converts a legacy custom role into environment and project roles.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
privilege_group_idintegerRequired
The ID of the role to convert.
environment_roleobjectRequired
project_roleobjectRequired

Response

Successful migration
dataobject or null

Errors