Premium APIsSoftware ManagementSoftware Management V1API Reference V1

Deregister a callback listener

Deregister a Callback Listener:

DELETE /callbacks/{account}/name/Fota

Deregisters the callback endpoint and stops ThingSpace from sending FOTA callback messages for the specified account.

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/fota/v1/callbacks/{account}/name/Fota

Resource and Query Parameters

You must include the name of the account and the name of the callback service (“Fota”) in the path.

Parameter NameData TypeDescription
account (required)stringThe name of the billing account that is registered to receive callback messages. An account name is usually numeric, and must include any leading zeros.

Header Parameters

The request header must set the content-type to JSON, 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.

Parameter NameData TypeDescription
Authorization (required)stringHTTP Authorization bearer token: Authorization: Bearer {token}
VZ-M2M-Token (required)stringA valid session token: VZ-M2M-Token: {M2Mtoken}
Content-Type (required)stringMust be application/json Content-Type: application/json

Request Body

None.

Success Responses

Status 200

A response to a successful request contains a single Boolean value:

{
  "success": true
}

Failure Responses

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.

On this page