Retrieve cost data
Diese Seite ist noch nicht in deiner Sprache verfügbar. Englische Seite aufrufen
- Go to the project.
- Select Cost Dashboard from the side navigation.
- Create a service account.
- Within the service account create service account keys.
- Assign the role to access the cost data to the service account.
- Create a bearer token with your service account.
- Use the token inside your API request as auth method.
- As
customerAccountIduse your the OrganizationId. - As
projectIduse your PortalProjectId.
Get costs for a specific customer account
Section titled “Get costs for a specific customer account”- Go to the organization overview page.
- Select Billing > Cost Dashboard from the side navigation.
- Create a service account.
- Within the service account create service account keys.
- Assign the role to access the cost data to the service account.
- Create a bearer token with your service account.
- Use the token inside your API request as auth method.
- As
customerAccountIduse your the OrganizationId.
Get costs for all related sub-customer projects
Section titled “Get costs for all related sub-customer projects”- Log in to the STACKIT Partner Portal.
- Select Billing > Cost Dashboard from the side navigation.
- Create a service account.
- Within the service account create service account keys.
- Assign the role to access the partner cost data to the service account.
- Create a bearer token with your service account.
- Use the token inside your API request as auth method.
- As
customerAccountIduse your the OrganizationId of your customer.