PUT
/
api_keys
/
{uuid}
curl --request PUT \
  --url https://geekai.co/api/api_keys/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "geekai",
  "group": "balance",
  "credit_limit": 10000,
  "expired_at": "2025-12-31"
}'
{
  "message": "<string>"
}

通过 UUID 更新指定 API KEY 的信息。

注意:调用此接口需要通过系统 KEY 进行认证,需要创建后复制进行使用。

Authorizations

Authorization
string
header
required

系统KEY

Body

application/json

Response

200
application/json

成功响应

The response is of type object.