Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Updates an existing trigger. Requires secret key authentication.
JavaScript
import Triglit from 'triglit'; const client = new Triglit({ apiKey: 'My API Key', }); const trigger = await client.triggers.update('trg_abc123def456'); console.log(trigger.id);
{ "id": "trg_abc123def456", "tenantId": "tenant_123", "workflowVersionId": "wfv_abc123def456", "name": "User Registration Webhook", "type": "webhook", "config": {}, "isActive": true, "createdAt": "2024-01-15T10:30:00.000Z", "updatedAt": "2024-01-15T10:30:00.000Z", "subTenantId": "sub_tenant_456" }
Chave de API do tenant (publishable key ou secret key)
Trigger identifier
"trg_abc123def456"
1 - 255
Show child attributes
Trigger updated successfully
Unique trigger identifier
Tenant identifier
"tenant_123"
Workflow version identifier
"wfv_abc123def456"
Trigger name
"User Registration Webhook"
Trigger type
schedule
webhook
"webhook"
Trigger configuration
Whether the trigger is active
true
Creation timestamp
"2024-01-15T10:30:00.000Z"
Last update timestamp
Sub-tenant identifier
"sub_tenant_456"
Was this page helpful?