Update Status
Update Client status by ID
PATCH
https://biometridon.polygon.pt/api/clients/:id/status
This endpoint allows you to update the client status field. This route is only for Master Users.
Path Parameters
Name
Type
Description
id
string
ID of the client to get
Headers
Name
Type
Description
Content-Type
string
application/json
Authentication
string
Authentication user token
Request Body
Name
Type
Description
active
boolean
Active status
{
"data": {
"key": "key1",
"name": "client1",
"flows": [""],
"pusher": {
"appId": "",
"key": "",
"secret": "",
"privateChannels": true
},
"twilio": {
"account": "",
"key": "",
"secret": "",
"smsAccountsId": "",
"smsAuthToken": "",
"smsFromNumber": ""
},
"biometrid": {
"key": "",
"secret": "",
"url": "https://api.biometrid.com/api/1.1"
},
"settingsId": "",
"userId": "",
"active": true,
"isMaster": false,
"created_at": "2020-07-09T16:26:23.702Z",
"updated_at": "2020-07-09T16:26:23.702Z",
"id": "5f07452f79f2e851bc3eb837"
},
"meta": {
"message": "Client Updated with success."
},
"status": true
}
Last updated
Was this helpful?