Skip to content

Delete role.​

DELETE
/backend/v1/auth/roles/{roleId}

Deletes a role. If the role has assigned users, they can be moved to a new role if one is provided.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Path Parameters

roleId*
Required

Request Body​

application/json
JSON
{
  
"reassignToRoleId": "string"
}

Responses​

Successful Response

application/json
JSON
{
  
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Updated at: