Deregister a Callback Listener:

DELETE /callbacks/{account}/name/{service}

Stops ThingSpace from sending callback messages for the specified account and service.

Contents

See also:
About Callback Services
List Callback Listeners
Register a Callback Listener

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/loc/v1/callbacks/{account}/name/{service}

Resource and Query Parameters

You must include the name of the account and callback service in the path.

Parameter Name Data Type Description
account
required
string The name of the billing account that has registered to receive callback messages. An account name is usually numeric, and must include any leading zeros.
service
required
string The name of the callback service type that you want to stop. This must be Location for the Device Location Service callback.

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

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

{
  "success": true
}

Example Success Response

{
  "accountName": "MyAccount-1",
  "serviceName": "Location"
}

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 Codes page, along with explanations and suggestions for corrective actions.