Delete a usage trigger:

DELETE /usage/accounts/{accountName}/triggers/{triggerId}

Delete a specified trigger.

Contents

See also:
Create a Usage Trigger
Get Usage Triggers
Update a Usage Trigger

Uses and Requirements

NOTE: This method uses the /subsc/v1 basepath, not /loc/v1 used by other Device Location API requests.

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/subsc/v1/usage/accounts/{accountName}/triggers/{triggerId}

Resource Path and Query Parameters

You must include the account name and the unique ID of the trigger that you want to delete in the path.

Parameter Name Data Type Description
accountName
required
string The name of the billing account in the format of 10 digits, a hyphen, and then five more digits. Must include any leading zeros.
triggerId
required
string The unique ID of the trigger to update. The ID was returned in the response when the trigger was created, and you can also find it in the GET /triggers response.

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 using the primary account’s UWS credentials.

Request Body

None.

Success Responses

Status 200

A success response contains the complete settings of the trigger resource.

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.