Delete a Trigger:

DELETE /triggers/{triggerId}

Delete a specified trigger.

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/m2m/v1/triggers/{triggerId}

Resource and Query Parameters

You must specify the trigger that you want to delete in the resource path.

Parameter Name Data Type Description
triggerId
required
string The unique ID of the trigger that you want to delete.

Header Parameters

The request header must contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token, and must set the content-type to JSON.

 

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization bearer token.
VZ-M2M-Token
required
string A valid session token returned by POST /session/login.
Content-Type
required
string Must be application/json.

Request Body

None.

Success Responses

Status 200

The response contains the ID of the trigger that was deleted.

Parameter Name Data Type Description
triggerId string The ID of the trigger that was deleted.

Example Success Response

{ "triggerId": "595f5c44-c31c-4552-8670-020a1545a84d", }

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!