Skip to main content
POST
/
cost
/
purge
Cost Purge
curl --request POST \
  --url https://api.example.com/cost/purge \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "query": {
    "$expr": {
      "$and": [
        {
          "$literal": "<string>"
        }
      ]
    }
  }
}
'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
project_id
string
required
query
Query · object
required

Response

Successful Response

The response is of type CostPurgeRes · object.