Skip to main content

Revert billing usage

Revert billing usage for a billing account.

Request Body required
    org_id either provide org_id or infer org from project_id
    project_id string
    billing_id either provide billing_id of the org or API can infer the default billing ID from either org_id or project_id, not both
    usage_id usage id to revert, a usage can only be allowed to revert once
    amount int64
Responses

A successful response.


Schema

    object

POST /v1beta1/organizations/billing/usages/revert

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
Body required
{
"org_id": "string",
"project_id": "string",
"billing_id": "string",
"usage_id": "string",
"amount": "string"
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/organizations/billing/usages/revert' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"org_id": "string",
"project_id": "string",
"billing_id": "string",
"usage_id": "string",
"amount": "string"
}'