Delete
Delete User by ID
DELETE
https://biometridon.polygon.pt/api/users/:id
This endpoint allows you to delete an user by id.
Path Parameters
Name
Type
Description
id
string
ID of the user to get
Headers
Name
Type
Description
Content-Type
string
application/json
Authorization
string
Authentication user token
{
"data": {
"email": "user@polygon.pt",
"firstName": "User",
"lastName": "Tool",
"clientId": "5f089930ae1e08524034ec9b",
"roles": [
"5f06dd360d2a954da80c0990"
],
"active": true,
"isMaster": false,
"created_at": "2020-07-10T16:40:24.828Z",
"updated_at": "2020-07-10T16:40:24.828Z",
"id": "5f0899f8b9f874452cd5ff22",
"name": "User Tool"
},
"meta": {
"message": "User deleted with success."
},
"status": true
}
Last updated
Was this helpful?