Delete User Account

This API is used to delete the user account/profile when the user clicks on the My Activity page from the Profile menu.

To use this API, the user needs to pass the reason for deleting the user/event and authorization token in API in the header.

An authorization token will be generated when the user logs into the system.

Super admin users cannot be deleted using this API.

Here is the description of response attributes, which returns in the form of JSON.

typeReturns a type of message like success or error.
messageReturns a message description.

This API returns a response with 200 status if the API is executed successfully.

Here are the possible error messages, which will return if any conditions fail or the required data is missing for processing.

Error codeError description
401You are not authorized to view the resource
403The resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
406You are not allowed to delete a Super Admin account.
Click Try It! to start a request and see the response here!