PermuteDocs
Go to Permute

Actions · actionTriggersDelete

Delete an action trigger

Requires invocation permission on the published action. Stops future runs. The trigger and its run history can no longer be read through the API.

DELETE/v1/actions/{actionId}/triggers/{triggerId}
betaapiKeyworkspace

When to use

Stop a trigger permanently.

For agents

Deleting a trigger also removes its run history from the API, so read runs first if you need them.

Example

typescript
import { PermuteClient } from '@permute/sdk';

const orgClient = new PermuteClient({
  apiKey: process.env.PERMUTE_API_KEY!,
});

const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);

const result = await client.actionTriggers.delete('actn_abcdefghijklmnopqrstuvwx', 'trig_abcdefghijklmnopqrstuvwx');

Response

json
{
  "data": {
    "id": "trig_abcdefghijklmnopqrstuvwx",
    "actionId": "actn_abcdefghijklmnopqrstuvwx",
    "workspaceId": "wksp_finance123",
    "type": "schedule",
    "config": {
      "schedule": {
        "type": "daily",
        "hour": 9,
        "minute": 0
      },
      "input": {
        "region": "EMEA"
      }
    },
    "isEnabled": true,
    "nextRunAt": "2026-10-03T09:00:00.000Z",
    "disabledReason": null,
    "createdAt": "2026-10-02T12:00:00.000Z",
    "updatedAt": "2026-10-02T12:00:00.000Z",
    "lastRun": null
  }
}