Skip to main content
PATCH
Update LiteLLM key or key creation

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Path Parameters

inferenceProviderId
string<typeid>
required

Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.

Required string length: 30

Body

application/json
apiKey
string
Required string length: 1 - 4096
issueStrategy
enum<string>

issued mode. per_team: one key per LiteLLM team the person belongs to, or one key without a team when they are in none. mirror: a copy of their oldest active key (team, models, aliases, tags, expiry; never key-level budgets or rate limits).

Available options:
per_team,
mirror
mirrorFallback
enum<string>

issued + mirror: for someone with no key to copy, create per-team keys, or report them and create nothing.

Available options:
per_team,
error

Response

Update LiteLLM key or key creation

inferenceProvider
object
required
sync
object
required