Deregister a Callback Listener

Deregister a Callback Listener

DELETE /callbacks/{acc}

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/v2/callbacks/{acc}

Resource Path Parameters

You must include the name of the account in the path.

Parameter Name Data Type Description
acc
required
string The 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 contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token.

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization bearer token.
VZ-M2M-Token
required
string A valid session token returned by POST /api/m2m/v1/session/login.

Request Body

None.

Success Responses

Status 200

Example Success Response

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.