Skip to main content
PUT
/
api
/
organizations
/
{org_id}
/
billing
/
settings
Org Update Billing Settings
curl --request PUT \
  --url https://api.example.com/api/organizations/{org_id}/billing/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_reload_amount": 123,
  "auto_reload_enabled": true,
  "auto_reload_threshold": 123,
  "billing_email": "<string>",
  "default_payment_method_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string<uuid>
required

Body

application/json
auto_reload_amount
number | null
auto_reload_enabled
boolean | null
auto_reload_threshold
number | null
billing_email
string | null
default_payment_method_id
string | null

Response

Successful Response