Delete a user

Deletes a user. The user to delete is specified by their userAttr.

Request

DELETE /GmaApi/users/{userAttr}

Example cURL request

# curl -v -X DELETE -H "Authorization: Bearer 644d0ac0-908f-485a-ac8db5bb99f200d7" https://hostname/GmaApi/users/68567181-2cf1-4b2b-bc10-6d6f05afb8e7

Resource URI

https://hostname/GmaApi/users/{userAttr}

Authorization header

For information about obtaining an access token, see Request an access token.

Request parameters

Table 1. Path parameters
Parameter Type Required Description
userAttr String Yes The gtwayUUID of the user to delete.
Note: You can use the GET /GmaApi/users/{username} method to retrieve the gtwayUUID of a user.

Example response

{"status":"success"}

Response parameters

Table 2. Response parameters
Parameter Description
status Returns whether the request was successful. Returns an error when the request is unsuccessful. For more information about errors, see Errors.