palbaseDocs

Palbase ai · API

DELETE/ai/triggers/{trigger_id}

Delete a trigger

Delete a trigger and cancel any pending cron schedule for it.

Called by your server, with the project's secret key.

Path

trigger_idstring · requiredTrigger identifier
curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/triggers/<trigger_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Trigger deleted

400The request is malformed, or names what this module does not offer (the error names which)

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation DeleteTrigger of ai's contract.