User DELETE Resources


Delete a user

DELETE /users/:ID

This request does not have a body, and in case of success, a HTTP 200 OK without body will be sent.


Remove the profile image

DELETE /users/:id/image

Response

{
  "id": 42,
  "unique_id": "00.42",
  "is_deleted": false,
  "is_hidden": false,
  "is_system": false,
  "firstname": "Sherlock",
  "lastname": "Holmes",
  "email": "sherlock.holmes@example.com",
  "auth_type": "simple",
  "language": "en",
  "country": "uk",
  "gender": "m",
  "location": "London",
  "about": "Detective",
  "country": "uk", 
  "company": "Ward, Lock & Co",
  "department": "Investigations", 
  "position": "Master Detective", 
  "image": "http://appdata.starmind.local/static/user/default.jpg",
  "first_seen": "2015-02-02T11:31:05.000Z",
  "customfields": { "occupation": "Detective" },
  "disclaimer_agreement": "2017-05-29T09:52:00.000Z"
}

Remove disclaimer agreement

A user assigned the role communication_admin can use this endpoint to set the disclaimer_agreement field for a user to null.

DELETE /users/:ID/disclaimer-agreement

Payload

This request does not have a body.

Response

in case of a success, a HTTP 200 OK http response without body will be returned.