Remove Trigger

Delete an existing trigger.

Endpoint

DELETE https://enterprise.guardis.io/v1/triggers/remove

Authentication

Include your API key in the X-API-Key header.

X-API-Key: your_api_key_here

Request Body

{
  "trigger_id": "my-unique-trigger-001"
}
Field
Type
Required
Description

trigger_id

string

Yes

The unique identifier of the trigger to remove


Example Request

curl -X DELETE "https://enterprise.guardis.io/v1/triggers/remove" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "trigger_id": "my-unique-trigger-001"
  }'

Response

Success (200 OK)


Example Usage

JavaScript:

Python:


Error Responses

Status Code
Description

400

Invalid request body or missing trigger_id

401

Missing or invalid API key

404

Trigger not found

500

Internal server error

Last updated