Skip to main content
PUT
Switch a credential to another account

Authorizations

Authorization
string
header
required

Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.

Path Parameters

profile
string
required

Profile id or name.

credential
enum<string>
required

One AI credential in a credential profile. The *-api-key ids are API keys you can set with PUT /credential-profiles/{profile}/keys/{credential}. The sign-ins (*-subscription) and Bedrock (*-bedrock) are connected on the dashboard Agents & Proxying page, with the profile picked at the top; you can remove them here.

Available options:
anthropic-api-key,
openai-api-key,
openrouter-api-key,
llmgateway-api-key,
deepseek-api-key,
moonshot-api-key,
mistral-api-key,
claude-subscription,
chatgpt-subscription,
kimi-subscription,
mistral-vibe-subscription,
claude-bedrock,
codex-bedrock
account
string
required

The account id from the list.

Response

The accounts after the switch.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

success
boolean
required
profileId
string
required
credential
enum<string>
required

One AI credential in a credential profile. The *-api-key ids are API keys you can set with PUT /credential-profiles/{profile}/keys/{credential}. The sign-ins (*-subscription) and Bedrock (*-bedrock) are connected on the dashboard Agents & Proxying page, with the profile picked at the top; you can remove them here.

Available options:
anthropic-api-key,
openai-api-key,
openrouter-api-key,
llmgateway-api-key,
deepseek-api-key,
moonshot-api-key,
mistral-api-key,
claude-subscription,
chatgpt-subscription,
kimi-subscription,
mistral-vibe-subscription,
claude-bedrock,
codex-bedrock
accounts
object[]
required

In the order the accounts were added, so their numbers stay the same across switches. The one in use is marked active.