POST
/
iam
/
clients
/
{clientId}
/
client-users
/
create
Create client users
curl --request POST \
  --url https://api.gcore.com/iam/clients/{clientId}/client-users/create \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "username": "jsmith@example.com",
  "password": "<string>",
  "user_role": {
    "user_role": {
      "id": 1,
      "name": "Administrators"
    }
  }
}'
{
  "name": "<string>",
  "username": "jsmith@example.com",
  "user_role": {
    "user_role": {
      "id": 1,
      "name": "Administrators"
    }
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json

Response

200
application/json

OK.

The response is of type object.