Deletes a project role and migrates its members to a new role.

<Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

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

Path parameters

projectRoleIdstringRequiredformat: "uuid"
The id of the project role.

Request

The model to delete the project role.
newProjectRoleIdstring or nullOptionalformat: "uuid"
The id of the new project role. Needs to be set when there are still users in projects with the old project role.

Response

OK

Errors

400
Bad Request Error
404
Not Found Error