Skip to main content
PUT
/
billing
/
subscription
/
creditsOverageBehaviors
Update credits overage behaviors
curl --request PUT \
  --url https://api.getcargo.io/v1/billing/subscription/creditsOverageBehaviors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "creditsOverageBehaviors": [
    {
      "unit": "billing.credits",
      "action": "deny"
    }
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body schema.

creditsOverageBehaviors
Credits overage behaviors · object[]
required

Credits overage behavior configuration.

Response

Successful response

The response is of type object.