Remove a paired device
DELETE /api/devices/{id}
Soft-deletes the backup device with this ID for the authenticated account and returns a message. A missing device or an ID belonging to another account is not found.
Authenticate with a portal session token.
Parameters
idstring path required
Responses
200 Device removed.
application/json object
messagestring requiredValue:"Device removed."
Generated sample
{
"message": "Device removed."
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
404 Device not found.
application/json object
errorobject requiredmessagestring requiredcodestring requiredValue:"not_found"
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string