List compute customers per contract
GET https://{{host}}/billing/v1/contracts/:contractId/compute-customers
Returns IDs and names of compute customers for the specified contract.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"accountId":"A-CCT5678","contractId":"C-0N7RAC7","usagePeriods":[{"computeCustomers":[{"computeCustomerId":123456,"computeCustomerName":"NEURABOT"},{"computeCustomerId":123457,"computeCustomerName":"NIAGA SOLUSINDO"}],"month":"2024-03"}]}