DELETE /v1/triggers/{triggerId}
Delete a specified trigger.
See also:
Create a Trigger
Get Triggers
Update a Trigger
DELETE https://thingspace.verizon.com/api/m2m/v1/triggers/{triggerId}
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. |
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 . |
None.
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. |
{ "triggerId": "595f5c44-c31c-4552-8670-020a1545a84d", }
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.