Usage

This contains APIs related to license usage as defined in Harness

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
query Parameters
accountIdentifier
string

Account id to get the license usage.

timestamp
integer <int64>
Responses
400

Bad Request

500

Internal server error

default

Returns a license usage object

get/ng/api/usage/CD/serviceInstancesLicense
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
query Parameters
accountIdentifier
string

Account id to get the license usage.

timestamp
integer <int64>
Responses
400

Bad Request

500

Internal server error

default

Returns a license usage object

get/ng/api/usage/CD/servicesLicense
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
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
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
query Parameters
accountIdentifier
string

Account id to get the license usage.

timestamp
integer <int64>
Responses
400

Bad Request

500

Internal server error

default

Returns a license usage object

get/ccm/api/usage/CD/serviceInstancesLicense
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
query Parameters
accountIdentifier
string

Account id to get the license usage.

timestamp
integer <int64>
Responses
400

Bad Request

500

Internal server error

default

Returns a license usage object

get/ccm/api/usage/CD/servicesLicense
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Gets License Usage By Module, Timestamp, and Account Identifier

SecurityApiKey
Request
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/ccm/api/usage/{module}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}