PUT
/
role
/
{rid}
curl --request PUT \
  --url http://localhost:3370/role/{rid} \
  --header 'Content-Type: application/json' \
  --header 'KODOSUMI_API_KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com",
  "password": "<string>",
  "active": true,
  "operator": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "email": "jsmith@example.com",
  "active": true,
  "operator": true
}

Authorizations

KODOSUMI_API_KEY
string
header
required

Path Parameters

rid
string
required

UUID of the role to update

Body

application/json

Response

200
application/json

Role updated successfully

The response is of type object.