capabilities.work

Rotate an API key's secret

One step with Amigo. We can help you get access.

Get something done

Rotate an API key's secret

Use Amigo: its Platform API Keys API lets you rotate an API key's secret in a single step (POST /v1/{workspace_id}/api-keys/{key_id}/rotate). capabilities.work can help you get signed up and connected.

  • How do I rotate an API key's secret without losing access?
  • What happens to the old API key secret when I rotate it?
Say it to your AI assistant
  • Rotate API key {key_id} in workspace {workspace_id} to a new secret valid for {duration_days} days.
  • Replace the secret of key {key_id} in {workspace_id} with a fresh one lasting {duration_days} days.
For your developer

POST /v1/{workspace_id}/api-keys/{key_id}/rotate in Platform API Keys API. Full spec on APIs.io.