capabilities.work

Rotate a directory's API key

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

Get something done

Rotate a directory's API key

Works with AI assistants

Use Clerk: its Clerk Backend Directories API lets you rotate a directory's API key in a single step (POST /directories/{directory_id}/rotate_api_key). Clerk also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I get a new API key for a directory?
  • How long does the old directory key stay valid after rotation?
Say it to your AI assistant
  • Rotate the API key for directory {directory_id}.
  • Generate a new API key for directory {directory_id} and return it.
For your developer

POST /directories/{directory_id}/rotate_api_key in Clerk Backend Directories API. Full spec on APIs.io.