Users

Deleting multiple users

You can delete all users in a company with a single API call.

Deleting a user can be performed using a DELETE request to the /users/{id} endpoint. To do this you need to know the exact ‘link’ associated with the user.

After performing this request, the response doesn't contain any information other than the headers as it's not necessary.

The ‘delete a user’ action, if successful, generates a 204 No Content response.

  • JSON
  • XML

Deleting all users

The following statement allows a user to delete all users in their company using the Whispir API:

HTTP 1.1 DELETE https://api.<region>.whispir.com/users/?apikey=<your_api_key>
Authorization: Basic am9obi5zbWl0aDpteXBhc3N3b3Jk
x-api-key: your_api_key