Skip to main content

Delete User

Description: To delete a user, a HTTP DELETE request is made to the URL with the user ID and session token.

Method: DELETE

URI: /users/user_id

URI Parameters

  • user_id: The ID of the user.

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
MessageStringMessage relating to the update.

Example

Request
curl https://app-api.reiformslive.com.au/users/1 \
--request DELETE \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ==" \
Response
{
"message": "The user account has been deleted."
}