Skip to content

Update role.​

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

Modifies the role's name and/or permissions. If permissions are provided, they will replace the existing set.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Path Parameters

roleId*
Required

Request Body​

application/json
JSON
{
  
"isDefault": true,
  
"name": "string",
  
"permissions": [
  
  
"string"
  
]
}

Responses​

Successful Response

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

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Updated at: