cURL
curl --request PUT \ --url https://api.gcore.com/iam/clients/{clientId}/client-users/{userId} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "user_role": { "id": 1, "name": "Administrators" } }'
This response does not have an example.
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 ID.
Account ID.
User's group.
The user's group has been successfully changed.
Was this page helpful?