Deletes the project role with the specified id.
Deletes the project role with the specified id.
When you want to delete a project role which is still in use,
you are required to specify which role the currently assigned members should be assigned to instead.
If the default role gets deleted, the migration role becomes the new default project role.
<Check title="Required Permissions">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>
Path parameters
projectRoleId
The id of the project role.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The model to delete the project role.
newProjectRoleId
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