websocket_trigger

set enabled websocket trigger

post/w/{workspace}/websocket_triggers/setmode/{path}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/websocket_triggers/setmode/{path}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
pathstring required

Request body

mode'enabled' | 'disabled' | 'suspended' required

job trigger mode

forceboolean

Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.

Response

websocket trigger enabled set

Changes

No recorded changes to this operation across all 293 revisions of this API.