Skip to main content
PUT
Update API Key Information
Updates the information of a specific API key using its UUID.

Authorizations

Authorization
string
header
required

token

Body

application/json
name
string
default:default
required

A name to identify the API key's use case, for management and cost tracking.

Example:

"geekai"

group
enum<string>
default:balance
required

The proxy strategy group. Valid values are: lowcost (prioritize low cost), balance (balanced), ha (high availability), and none (no proxy).

Available options:
lowcost,
balance,
ha,
none
Example:

"balance"

credit_limit
number
default:0

Credit limit in "coins" (1 coin = 0.01 currency units). Limits consumption for time-limited API keys. Usage is blocked after the limit is reached.

Example:

10000

expired_at
string<date>
default:""

Expiration date. The key becomes unusable after this date.

Example:

"2025-12-31"

Response

Success

message
string

Success/failure message.