Background Agents

Rotate Background Agent Secret

Rotates the agent's gateway secret and returns the new plaintext secret.

The previous secret stops working immediately. The new secret is only returned once — store it securely. If the agent is synced to an external platform, sync it again afterwards so the platform receives the new credentials.

post/api/background-agents/{id}/rotate-secret

Request

  • Base URL: https://app.withwillow.ai
  • URL: https://app.withwillow.ai/api/background-agents/{id}/rotate-secret
  • Auth: HTTP bearer

Path parameters

idstring required

The ID of the background agent

Response

Secret rotated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.