Add consumption

Add license consumption for a product.

URL: /api/v4/add_consumption Method: POST Content-Type: application/json Accept: application/json

Request body

{
  "product": "string (optional)",
  "consumptions": "string (optional)",
  "max_overages": "string (optional)",
  "allow_overages": "string (optional)"
}

Success response

Code: 200 OK

Example request

curl -X POST 'http://localhost:8080/api/v4/add_consumption' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"product":"<product-code>","consumptions":"2"}'

Last updated

Was this helpful?