Usage

This contains APIs related to license usage as defined in Harness

Gets License Usage By Module, Timestamp, and Account Identifier

Request
Security:
ApiKey (readwrite)
path Parameters
module
required
string

A Harness platform module.

query Parameters
accountIdentifier
string

Account id to get the license usage.

timestamp
integer <int64>
CDLicenseType
string
Responses
400

Bad Request

500

Internal server error

default

Returns a license usage object

get/ng/api/usage/{module}
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/usage/:module?accountIdentifier=string&timestamp=0&CDLicenseType=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}