Rotate an Automation Secret
Issue a new automation secret when the old one should no longer be trusted, then replace it everywhere the old secret was used.
The rotate endpoint returns the new raw secret once, so store it before leaving the response.
- Rotate intentionally.
- Copy the new secret immediately.
- Replace the old secret everywhere.
Where this happens
Same Task, Other Interfaces
Use the version that matches where you are working now. The subject matter stays the same; the delivery changes by surface.
Do the work
- 1. Send the workspace id and automation id in the route path.
- 2. Optionally pass `credentialLabel` in the request body.
- 3. Read the returned raw secret from the response.
- 4. Replace the old secret and treat it as compromised or obsolete from that moment on.
Keep Going in Automation and Agents
Stay in the same interface and move to the next closest task in this topic when needed.
Exchange an Automation Secret
Exchange an automation secret for an access token.
List Automations
Review the current workspace automations before you create, update, or rotate one.
Create an Automation
Create the workspace automation boundary, issue the automation secret, and store that secret safely because it is only shown once.
Update an Automation
Change automation metadata, team boundaries, scopes, or suspension state without recreating the automation.
List Visible Agents
Review the current visible agent bindings before creating a new agent or editing an existing one.
Create a Visible Agent
Create a named visible agent under an existing installation so activity, assignees, and attribution can point to a meaningful product actor.
Update a Visible Agent
Change a visible agent name, team scope, role, or suspension state without recreating the binding.
Nearby Guides
These guides stay close to the current workflow so you can keep moving without restarting discovery.
Exchange an Automation Secret
Exchange an automation secret for an access token.
Create an Automation
Create the workspace automation boundary, issue the automation secret, and store that secret safely because it is only shown once.