Skip to content

Delete Existing User

1. Find Existing User

Search for the user by external ID to confirm they exist before attempting deletion.

POST - /1211/directory/public/users/query

{
  "email": null,
  "phone": null,
  "externalId": "KON1002"
}
{
  "totalItemCount": 1,
  "page": 0,
  "pageSize": 0,
  "items": [
    {
      "profile": {
        "id": "1563384",
        "name": "John Dough",
        "description": null,
        "uri": "https://api-handweave.dev.alertsense.io/api/v2/tenants/1211/directories/public/users/1563384"
      },
      "tenant": {
        "id": "1211",
        "name": "Konexus (CP)",
        "description": null,
        "uri": "https://api-handweave.dev.alertsense.io/api/v2/tenants/1211/directories"
      },
      "directory": {
        "id": "public",
        "name": "Public Directory",
        "description": null,
        "uri": "https://api-handweave.dev.alertsense.io/api/v2/tenants/1211/directories/public"
      }
    }
  ]
}

2. Delete the User

Delete the user by their profile ID. This operation is permanent and cannot be undone.

DELETE - /1211/directory/public/users/1563384


Note

A successful delete returns 204 No Content with no response body.