v1

latestOpenAPI 3.0.22026-08-0426137631.3 KB
User APIs

User Delete API

This API endpoint allows you to delete a specific user from the system using their user_id.

Notice: Make sure the user_id is an urlencode string.

To remove a user, make a DELETE request to:

DELETE /v1/users/{user_id}

Replace {user_id} with the unique identifier of the user you wish to delete.

Response Format

The API will return a JSON object with a task_id that can be used to retrieve.

Example Error Response

{
  "message": "deleted",
  "data": {
    "task_id": "{task_id}"
  }
}

To check the exact response body of this task_id, make a GET request to the following endpoint:

GET /v1/users/_status/{task_id}

Replace {task_id} with the task_id returned from the response.

delete/v1/users/{user_id}

Path parameters

user_idstring required

Response

Successful Response

messagestring required

Human-readable message

Example response

{
  "message": "success"
}