Deregister a Callback Listener
# Deregister a Callback Listener ### `DELETE /callbacks/{accountName}` Deregisters the callback endpoint and stops ThingSpace from sending FOTA callback messages for the specified account. ## HTTP Request [DELETE https://thingspace.verizon.com/api/fota/v3/callbacks/{accountName}](/docs/standard-apis/connectivity-management/api-endpoints/connectivity-callbacks/deregister-callback/deregistercallback) ## Header Parameters The request header must contain a current ThingSpace authorization token, set the content to "JSON" and a current VZ-M2M-session token. |Parameter Name|Data Type|Description| |-----|-----|-----| | **Authorization** *(required)* | string | HTTP Authorization request header containing a valid Bearer token: `Authorization: Bearer {token}` | | **VZ-M2M-Token** *(required)* | string | A valid session token returned by a Connectivity Management `POST /session/login` request. | | **Content-Type** *(required)* | string | Must be `application/json`. | ## Request Parameters The `accountName` must be included in the path. |Parameter Name|Data Type|Description| |-----|-----|-----| | **accountName** *(required)* | string | The name of the billing account that is registered to receive callback messages. An account name is numeric, and must include any leading zeros. | ## Request Body None. ## Success Responses **Status 200** A response to a successful request contains a single Boolean value. Example Response: ```json { "success": true } ``` ## Success Parameters |Parameter Name|Data Type|Description| |-----|-----|-----| | **success** | boolean | If the request to deregister is successful, the response will show **true**. If the request fails, the response will show **false**. | ## Failure Responses 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](https://thingspace.verizon.com/documentation/api-documentation.html#/http/software-management/guides/error-messages), along with explanations and suggestions for corrective actions.