Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. User tasks

User delete

API reference (XML/JSON) · Updated 2023-09-19

Function

The UserDelete task deletes a user.

A user can be deleted only if there are no objects (domains, zones, ...) for this user. Also the main user cannot be deleted.

Description

Route: ​DELETE /user​/{name}​/{context}

{
}
{
    "stid": "20211102-test-9495",
    "status": {
        "code": "S1301003",
        "text": "User was successfully deleted.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "User",
        "value": "subuser-1, 4"
    }
}