DELETE https://api.cryptohopper.com/v1/hopper/{id}/trigger/{trigger_id}

Deletes a trigger of the hopper and returns how many triggers are left.

The handler checks no OAuth scope: any valid access token can call it. No request body is needed.

Example request

curl -X DELETE "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/trigger/TRIGGER_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"indicators":["price"],"actions":["load_template"]}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
trigger_id string Required Trigger ID.
id string Required Hopper ID.

Request body

JSON, model TriggerDELETE

FieldTypeRequiredDescription
indicatorsarray of stringOptional
actionsarray of stringOptional

Response

Example response (illustrative values)

{
    "data": {
        "message": "Trigger deleted.",
        "triggers_left": 5,
        "triggers_total": 0
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.