Skip to main content
PUT
/
role
/
{rid}
Update Role by ID
curl --request PUT \
  --url http://role/{rid} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "[email protected]",
  "active": true,
  "password": "<string>",
  "operator": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "email": "[email protected]",
  "active": true
}

Path Parameters

rid
string<uuid>
required

Body

application/json
name
string | null
email
string<email> | null
active
boolean | null
password
string | null
operator
boolean | null

Response

Request fulfilled, document follows

id
string<uuid>
required
name
string
required
email
string<email>
required
active
boolean
required