Skip to content

[Deprecate] Billing for GitHub Actions is now supported in enhanced billing only. #3700

@Manas23601

Description

@Manas23601

Description

The BillingActions endpoint has been moved to the enhanced billing endpoint. Previously, it had its own separate endpoint as follows:

# https://docs.github.com/en/enterprise-cloud@latest/rest/billing/billing?apiVersion=2022-11-28#get-github-actions-billing-for-an-organization
/orgs/{org}/settings/billing/actions

Now:

curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer <TOKEN>" -H "X-GitHub-Api-Version: 2022-11-28" https://github.com/api/orgs/<ORG>/settings/billing/actions

# Returns:
{
  "message": "This endpoint has been moved.",
  "documentation_url": "https://gh.io/billing-api-updates-org",
  "status": "410"
}

Changes

Remove unuseable structs and tests for actionsBilling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions