Deleting keys
Key deletion is performed regardless of whether it was created only for the platform, only for the intercom, or for both – the key will be deleted in any case. It is not possible to delete a key from a user if they have 'type' => 'main'.
DELETE/api/admin/v1/intercoms/{intercom}/keysHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
intercomoptional | int | Unique identifier of the intercom | |||||||
keysrequired | array | Array of intercom keys to be deleted |
Response | |||||||||
204 | Successful response | ||||||||
401 | Authorization token is not provided or is invalid. Obtaining a token | ||||||||
422 | Returns a JSON object with an error. Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|