Create or replace a trigger
PUT
/harness/triggers/{name}Its tasks are created as the caller, who must be able to create tasks here.
Headers
Authorizationstring
Bearer <token>. A Hexel Studio access token for your organization.
X-Workspace-Idstring
The workspace the request acts in (ws_...). It never grants access by itself.
X-Environment-Idstring
The environment the request acts in (env_...). It never grants access by itself.
Body parameters
Returns
200Replaced.Trigger
created_bystring
environment_idstring
namestring
paused_reasonoptional string
routine_erroroptional string
routine_idstring
schedulesoptional array of RoutineTrigger
stateoptional string
targetoptional any
Any JSON value.
workspace_idstring
Errors
- default