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

KeyDatatypeRequiredDescription
accountSwitchKeystring(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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"accountId":"A-CCT5678","contractId":"C-0N7RAC7","usagePeriods":[{"computeCustomers":[{"computeCustomerId":123456,"computeCustomerName":"NEURABOT"},{"computeCustomerId":123457,"computeCustomerName":"NIAGA SOLUSINDO"}],"month":"2024-03"}]}