Disable logging for a device
# Disable Logging for a Specific Device ### `DELETE /logging/{accountName}/devices/{deviceId}` Disables logging for a specific device. ## Uses and Requirements Logging automatically turns off on a device after 7 days, but you can disable logging at any time. ## HTTP Request DELETE [https://thingspace.verizon.com/api/fota/v2/logging/{accountName}/devices/{deviceId}](/docs/premium-apis/software-management/software-management-v2/api-endpoints/client-logging/disabledevicelogging) ## Resource Path Parameters You must include the account name and the deviceId in the path. | Parameter Name | Data Type | Description | |:----------------|:-----------|:-------------| | **accountName** <br> *required* | string | The name of the account for which you want the list of devices. An account name is usually numeric, and must include any leading zeros. | | **deviceId** <br> *required* | required string | The device IMEI identifier. | ## Header Parameters The request header must contain a current ThingSpace authorization token and a current VZ-M2M session token. For more details on how to get these tokens, visit [Getting Started](https://thingspace.verizon.com/documentation/api-documentation.html#/http/session-management/guides/getting-started). | Parameter Name | Data Type | Description | |:-----------------------|:-----------|:-----------------------------------------------------------------------------| | **Authorization** <br> _required_ | string | HTTP Authorization bearer token: <br> `Authorization: Bearer {token}` | | **VZ-M2M-Token** <br> _required_ | string | A valid session token: <br> `VZ-M2M-Token: {M2Mtoken}` | ## Request Body None. ## Example Request Disable logging for a specific device: ```json 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' ``` ## Success Responses **Status 200** A success response contains the 200 code as confirmation of disabling logging for the device. ## Example Success Response ```json { "success": true } ``` ## Failure Responses **Status 400** All error messages are returned in this format: ```json { "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.