Skip to main content
DELETE
/
iam
/
users
/
{userId}
Delete user
curl --request DELETE \
  --url https://api.gcore.com/iam/users/{userId} \
  --header 'Authorization: <api-key>'
{
  "message": "Cannot delete user with multiple accounts.\nUse /clients/:client_id/client-users/:user_id to delete the user from a specific account.\n"
}

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

Path Parameters

userId
integer
required

User's ID.

Response

User has been successfully deleted.