cURL
curl --request POST \ --url https://api.gcore.com/iam/clients/{clientId}/client-users/create \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "username": "[email protected]", "password": "<string>", "user_role": { "user_role": { "id": 1, "name": "Administrators" } }, "name": "<string>" } '
{ "name": "<string>", "username": "[email protected]", "user_role": { "user_role": { "id": 1, "name": "Administrators" } } }
Create client users, this endpoint is enabled for each reseller manually by request
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
User's email address.
User's password.
User's group.
Show child attributes
User's name.
OK.
Was this page helpful?