POST
/
iam
/
clients
/
invite_user
curl --request POST \
  --url https://api.gcore.com/iam/clients/invite_user \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "user_role": {
    "id": 1,
    "name": "Administrators"
  },
  "client_id": 123,
  "lang": "de",
  "name": "<string>"
}'
{
  "status": "sent",
  "user_id": 19449
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Response

200
application/json

OK.

The response is of type object.