Get license usage details for a license type
Select
SaaS
Customer Managed
Get license usage details for a license type
Query Parameters
- licenseType LicenseType required
Possible values: [
CLEANROOM
,AUTORECOVERY
]Default value:
CLEANROOM
License type for which usage details are required
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- licenseUsageType LicenseUsageType
Possible values: [
PURCHASED
,LIMITREACHED
,EXPIRED_OR_NOTPURCHASED
,NOTAVAILABLE
]The state of a license supported for LicenseUsage API
- licenseType LicenseType
Possible values: [
CLEANROOM
,AUTORECOVERY
]Default value:
CLEANROOM
The type of licenses supported for LicenseUsage API
- licenseName string
The name of the license
- issuedQuantity int32
The quantity issued in the license
- usedQuantity int32
The quantity used in the license
error object
{
"licenseUsageType": "PURCHASED",
"licenseType": "CLEANROOM",
"licenseName": "string",
"issuedQuantity": 0,
"usedQuantity": 0,
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
License type is not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /licenseusage
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/LicenseUsage' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'