usage

Usage service handles licencing

getUsage usage

Retrieve a single usage

Securityx-api-key
Request
path Parameters
metric
required
string

Usage metric

Example: Odio quo dolore vel cumque nihil numquam.
query Parameters
accountIdentifier
required
string

Account identifier

Example: accountIdentifier=Blanditiis debitis magnam adipisci est et.
Responses
200

OK response.

400

BadRequestError: Bad Request response.

401

UnauthorizedError: Unauthorized response.

403

ForbiddenError: Forbidden response.

404

NotFoundError: Not Found response.

408

TimeoutError: Request Timeout response.

409

ConflictError: Conflict response.

423

LockedError: Locked response.

499

ContextCancelledError: response.

500

InternalServerError: Internal Server Error response.

502

BadGatewayError: Bad Gateway response.

put/iacm/api/enforcement/client/usage/{metric}
Request samples
Response samples
application/json
{
  • "data": {
    },
  • "status": "Aut reprehenderit."
}

checkLicence usage

Check whether the account is currently licenced

Securityx-api-key
Request
header Parameters
Harness-Account
required
string

Account identifier

Example: Voluptatem itaque nisi cumque impedit non.
Responses
200

OK response.

400

BadRequestError: Bad Request response.

401

UnauthorizedError: Unauthorized response.

403

ForbiddenError: Forbidden response.

404

NotFoundError: Not Found response.

408

TimeoutError: Request Timeout response.

409

ConflictError: Conflict response.

423

LockedError: Locked response.

499

ContextCancelledError: response.

500

InternalServerError: Internal Server Error response.

502

BadGatewayError: Bad Gateway response.

get/iacm/api/usage/check-licence
Request samples
Response samples
application/json
{
  • "account": "d5",
  • "isLicenced": false,
  • "reason": "Fuga suscipit harum qui odit perspiciatis.",
  • "total": 7113388384834800000,
  • "used": 1324683581573651000
}