PUT roles Id
PUT
Bearerheader
AuthorizationBearer <token>Paste your JWT token here
id*integerThe unique identifier of the role to update.
Format
int32The data transfer object containing the full updated role information.
application/json- body
Defines the DTO for updating an existing role, containing all necessary information for modifying a role's properties. The RoleUpdateDTO is used to transfer data from the client to the server when updating an existing role, allowing for changes to be made to the role's details while ensuring that the provided information is validated appropriately for the update process.
name*stringThe name of the role.
Length
0 <= length <= 100No Content
curl -X PUT 'https://example.com/roles/0' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Empty