Skip to main content
POST
Rotate provider API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

provider
enum<string>
required

AI provider identifier

Available options:
openrouter

Response

API key rotated successfully

apiKey
string

Active OpenRouter API key for admin copy workflows

maskedKey
string

Masked OpenRouter API key for display