Skip to content

Toggle Overage Billing

PATCH
/api/org/overage

Enable or disable overage billing for the current organization.

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

Type
API Key (header: X-Api-Key)

Request Body

application/json
JSON
{
  
"data": {
  
  
"type": "organizations",
  
  
"attributes": {
  
  
  
"allowOverage": true
  
  
}
  
}
}

Responses

Overage setting updated

application/vnd.api+json
JSON
{
  
"data": {
  
  
"type": "organizations",
  
  
"id": "string",
  
  
"attributes": {
  
  
  
"allowOverage": true
  
  
}
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation