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
TypeHTTP (bearer)

Parameters

Path Parameters

roleId*
Typestring
Required
formatuuid

Request Body

application/json
JSON
{
"name": "string",
"permissions": "string"
}

Responses

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

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Updated at: