Get the license Usage for MSSP
POST/api/v1/license/usage
x-public: "true"
Get the license Usage for a MSSP
Request
- application/json
Body
required
- RelativeTimeRangeConfig
- ToNowTimeRangeConfig
tenantGroupId string
licensePoolId stringrequired
timeRange object
oneOf
type string
timeUnit string
timeValue int32
value object
unit string
Possible values: [week
, month
, year
]
amount int32
Number of time units
type string
timeUnit string
timeValue int32
value string
Possible values: [week
, month
, year
]
nextPageToken string
Responses
- 200
- 401
- 403
OK
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
tenantName string
prismaId string
createdOn int64
expiringOn int64
status string
Possible values: [ACTIVE
, PROVISIONING
, UPDATING
, DELETING
, DELETED
, OFFBOARDING
, ERRORED
]
creditsAllocated int32
avgConsumption int32
lastUpdated int64
externalTenantId string
nextPageToken string
{
"value": [
{
"tenantName": "string",
"prismaId": "string",
"createdOn": 0,
"expiringOn": 0,
"status": "ACTIVE",
"creditsAllocated": 0,
"avgConsumption": 0,
"lastUpdated": 0,
"externalTenantId": "string"
}
],
"nextPageToken": "string"
}
Authentication failed
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Authorization failed, user doesn't have access to the resource
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Loading...