Deregister Callback Listener

Deregister a Callback Listener:
DELETE /callbacks/{aname}/name/{sname}

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

Contents

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

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/m2m/v1/callbacks/{aname}/name/{sname}

Resource and Query Parameters

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

Parameter Name Data Type Description
aname
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.
sname
required
string The name of the callback service type that you want to stop. Valid values are:
  • AlertsService
  • CarrierService
  • DevicePRLInformation
  • DeviceService
  • DeviceSuspensionStatus
  • DeviceUsage
  • EnhancedConnectivityService
  • ExternalProvisioningChanges
  • PromoChanges
  • ResumeTrackingNotification
  • SMSDeliveryConfirmation
  • StateService

Header Parameters

The request header must contain the current session token.

Parameter Name Data Type Description
VZ-M2M-Token
required
string A valid session token returned by POST /session/login.

Request Body

None.

Success Responses

Status 200

Parameter Name Data Type Description
accountName string The name of the billing account.
serviceName string The name of the callback service that was deregistered.

Example Success Response

{
  "accountName": "1223334444-00001",
  "serviceName": "CarrierService"
}

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.

Try It Out!