DELETE /logging/{acc}/devices/{deviceId}
Disables logging for a specific device.
Logging automatically turns off on a device after 7 days, but you can disable logging at any time.
DELETE https://thingspace.verizon.com/api/fota/v2/logging/{acc}/devices/{deviceId}
You must include the account name and the deviceId in the path.
Parameter Name | Data Type | Description |
---|---|---|
acc required |
string | The name of the account for which you want to disable logging. An account name is usually numeric, and must include any leading zeros. |
deviceId required |
string | The device IMEI identifier. |
The request header must contain a current ThingSpace authorization token and a current VZ-M2M-session token.
Parameter Name | Data Type | Description |
---|---|---|
Authorization required |
string | HTTP Authorization request header containing a valid Bearer token. |
VZ-M2M-Token required |
string | A valid session token returned by a Connectivity Management POST /session/login request. |
None
Disable logging for a specific devices:
curl -X DELETE https://thingspace.verizon.com/api/fota/v2/logging/$ACC/devices/$DEVICEID -H 'Authorization: Bearer $AUTH_TOKEN' -H 'VZ-M2M-Token: $M2M_TOKEN'
Status 200
A success response contains the 200 code as confirmation of disabling logging for the device.
{
"success"
}
Status 400
All error messages are returned in this format:
{
"errorCode": "error code string",
"errorMessage": "error message string"
}
Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.