Skip to main content
PATCH
/
settings
Update Organization Settings
curl --request PATCH \
  --url https://api.ag.dev/v0.1/settings \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "useOwnKeys": true
}'
{
  "useOwnKeys": true,
  "creditBalance": 123
}

Authorizations

X-API-Key
string
header
required

Body

application/json
useOwnKeys
boolean

Whether the organization should use their own API keys

Response

Organization settings updated successfully

useOwnKeys
boolean
required

Whether the organization uses their own API keys

creditBalance
number

Current credit balance