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

Authorizations

KODOSUMI_API_KEY
string
header
required

Body

application/json

Response

200
application/json

Role created successfully

The response is of type object.