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"
}
}
}
Create client users, this endpoint is enabled for each reseller manually by request
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"
}
}
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK.
The response is of type object
.
Was this page helpful?