Skip to main content
POST
This endpoint requires Bearer authentication with your Supabase JWT.
Rotating a key generates a new secret while keeping the same key ID and configuration. The old key is immediately invalidated.

Path Parameters

string
required
Key ID to rotate

Response

The new API key is only returned once. Store it securely!