Triggers
Update
Updates an existing trigger. All attributes are optional; only the provided ones are changed.
When updating the component of trigger you need permissions for both the current component and the component you're updating the trigger to.
Giving a trigger another runWithTokenId revokes the token the trigger created for itself, unless another trigger still runs with it.
put/v2/storage/triggers/{triggerId}/
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
triggerIdinteger required
ID of the trigger you want to update.
Request body
Example request
{
"runWithTokenId": 100,
"component": "orchestration",
"configurationId": "123",
"coolDownPeriodMinutes": 20,
"tableIds": [
"in.c-test.watched-1"
]
}Response
Trigger updated.
Example response
{
"id": "3",
"runWithTokenId": 123,
"component": "orchestration",
"configurationId": "config-100",
"lastRun": "2017-02-13T12:01:05+0100",
"creatorToken": {
"id": 1,
"description": "dev@keboola.com"
},
"coolDownPeriodMinutes": 20,
"tables": [
{
"tableId": "in.c-test.watched-1"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.