PUT rolealiases Id

PUT
/rolealiases/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The unique identifier of the role alias to update.

Formatint32

Request Body

The data transfer object containing the updated alias information.

application/json
  1. body

Defines the DTO for updating an existing role alias, containing all necessary information for modifying a role alias's properties. The RoleAliasUpdateDTO is used to transfer data from the client to the server when updating an existing role alias, allowing for changes to be made to the role alias's details while ensuring that the provided information is validated appropriately for the update process.

name*string

The name of the role alias.

Length0 <= length <= 100
roleId?integer

The id of the role that this alias belongs to.

Formatint32

Response Body

No Content

curl -X PUT 'https://example.com/rolealiases/0' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Empty