{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Webhook triggers only (409 for cron). Issues a new secret (shown once) and moves the old value to\nthe previous slot, where it keeps verifying deliveries until previous_secret_expires_at. Default\ngrace is 5 minutes when grace_period_seconds is omitted, so deliveries already in flight (signed\nwith the old value) still succeed while the customer updates their external system. After that\ninstant the old value is refused with 401. Pass grace_period_seconds=0 to retire the old secret on\nthis call (breach response), or a positive value (up to the server max, default 1 hour) for a custom\nwindow; above the max is 400.","properties":{"path":{"type":"object","properties":{"trigger_id":{"type":"string","examples":["b1a0c6de-1f2e-4a3b-9c8d-0e1f2a3b4c5d"],"description":"The trigger UUID."}},"required":["trigger_id"],"additionalProperties":false},"query":{"type":"object","properties":{"grace_period_seconds":{"type":"integer","minimum":0,"examples":[300],"description":"How long the outgoing secret keeps verifying deliveries. Omit for the default (5 minutes). 0 retires the old secret immediately (compromised-secret path). Positive values set a custom window up to the server max (default 1 hour); above the max is 400. Send at most once with an explicit non-negative integer - bare keys, empty values, non-integers, negatives, and duplicates are 400."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"RotateTriggerSecret issues a new webhook secret.","id":"digitalocean.harness_post_trigger_rotate_secret","example":{"path":{"trigger_id":"b1a0c6de-1f2e-4a3b-9c8d-0e1f2a3b4c5d"}},"maxRequests":1,"summary":false}}