This endpoint deletes a specific User.
Request
To delete a User please make a DELETE request to the following URL:
| HTTP Method | URL |
|---|---|
| DELETE | https://nanoview-api.wellairsolutions.com/api/v2.0/users/<user_key> |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| user\_key | String | The ID or username of the User, username should use the prefix ~ |
Query Parameters
| Parameter | Type | Use | Description |
|---|---|---|---|
| token | String | Authentication | Authorization Token can optionally be sent as a query parameter. |
Header
| Parameter | Required? | Description |
|---|---|---|
| X-Auth-Token | Yes | Authentication Token of account |
$ curl -X DELETE 'https://nanoview-api.wellairsolutions.com/api/v2.0/users/63d3f1247fefea000cd325af' \
-H 'Content-Type: application/json' \{
"code": 400001,
"message": "Validation Error.",
"detail": {
....
}
}{
"code": 401001,
"message": "Authentication credentials were not provided.",
"detail": "Authentication credentials were not provided."
}Response
If the User was deleted successfully, returns status code 204.
