PUT
/
api_keys
/
{uuid}
curl --request PUT \
  --url https://geekai.dev/api/v1/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>"
}

Updates the information of a specific API key using its UUID.

Authorizations

Authorization
string
header
required

token

Body

application/json

Response

200
application/json

Success

The response is of type object.