List PCU groups (HTTP)
|
For details about additional languages, see: |
Lists all Provisioned Capacity Units (PCU) groups in an organization.
|
You need an application token with the Organization Administrator or Billing Administrator role. For more information, see Get endpoint and token. |
Result
Returns an unordered list of JSON objects. Each object describes a PCU group in the organization.
Signature
Use the DevOps API.
The application token must have sufficient permissions to perform the requested operations, such as the Organization Administrator role. Additionally, the application token identifies the organization to query.
curl -sS -L -X GET "https://api.astra.datastax.com/v2/pcus/actions/get" \
--header "Authorization: Bearer APPLICATION_TOKEN" \
--header "Content-Type: application/json"
Parameters
This endpoint does not accept any parameters.
Examples
The following examples demonstrate how to list PCU groups.
List all PCU groups
curl -sS -L -X GET "https://api.astra.datastax.com/v2/pcus/actions/get" \
--header "Authorization: Bearer APPLICATION_TOKEN" \
--header "Content-Type: application/json"
List PCU groups for a cloud provider region
This endpoint does not accept parameters to limit by cloud provider regions. Instead, you can list all PCU groups, and then extract the desired values from the response.