Delete a User

DELETE/api/users/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number User unique ID
curl -X DELETE "https://yoursite.com/api/users/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "User Deleted Successfully."
}
MethodDELETE
Path/api/users/{id}
GroupUsers
Sincev1.0.0
Defined inRestApi/Controllers/UsersController.php