Buni.aiDocs
API referenceFlows

Delete a polling trigger

Removes a polling trigger so it stops polling. Requires the flow:trigger scope.

DELETE/flows/{projectId}/polling

Removes a polling trigger so it stops polling. Requires the flow:trigger scope.

Authorization

AuthorizationBearer <token>

Authorization: Bearer bai_ext_.... Tokens belong to one project and carry scopes: bot:invoke, flow:trigger, automation:trigger.

In: header

Scope: flow:trigger

Path Parameters

projectId*string

The project ID. The token must belong to this project.

Query Parameters

pollKey*string

Key of the polling trigger to remove.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/flows/string/polling?pollKey=string"
{  "success": true}