Skip to main content
POST
Rotate stored credentials for an MCP server

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

mcpServerId
string<uuid>
required

Body

application/json
scheme
enum<string>
required

Auth scheme used when calling the MCP server.

Available options:
NONE,
BEARER,
API_KEY,
OAUTH2_CLIENT_CREDENTIALS
bearerToken
string

Bearer token (BEARER scheme only).

apiKeyValue
string

API key value (API_KEY scheme only).

apiKeyHeader
string

Header name for the API key, e.g. 'X-Api-Key' (API_KEY scheme only).

oauthClientId
string

OAuth2 client ID (OAUTH2_CLIENT_CREDENTIALS scheme only).

oauthClientSecret
string

OAuth2 client secret (OAUTH2_CLIENT_CREDENTIALS scheme only).

oauthTokenUrl
string

OAuth2 token endpoint (OAUTH2_CLIENT_CREDENTIALS scheme only).

oauthScopes
string[]

OAuth2 scopes (OAUTH2_CLIENT_CREDENTIALS scheme only).

OAuth2 scopes (OAUTH2_CLIENT_CREDENTIALS scheme only).

Response

204

No Content