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.

Attribute

Description

type

Returns a type of message like success or error.

message

Returns 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 code

Error description

200

Ok

401

You are not authorized to view the resource

403

The resource you were trying to reach is forbidden.

404

The resource you were trying to reach is not found.

406

You are not allowed to delete a Super Admin account.

Language
Authentication
Header
Click Try It! to start a request and see the response here!