Remove all devices from an account
Request
To remove all the devices associated with an existing account, send a DELETE request to:
http://<host>:<port>/adm/v1/devices
Headers
Authorization: Bearer
– bearer tokenContent-Type: application/json
Mandatory fields
accountUid
– the account ID (in the query)
Response
A successful request returns an HTTP 200 status.
See the Account and Device Manager (ADM) API documentation for the unsuccessful request codes.
Example
{
"deletedCount": 2
}
See also
For full details of this API, see the Account and Device Manager (ADM) API documentation.