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.
Required Permissions
The user must be an admin or haveworkspace-manage-config:write
permissions.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
This endpoint expects an object.
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