Adds or replaces the affiliate's API key for a provider.

🔐 Required permission: AccountAdmin

🔐 Requires an Affiliate context (AffiliateId in header or token)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request to add or replace the current affiliate's own LLM API key for a provider.

string | null

Provider id, e.g. "anthropic".

string | null

The API key (write-only; never returned).

string | null

Optional model override for this affiliate's calls.

string | null

Optional provider base URL override.

boolean

Whether the key is active (defaults to true).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json