---
title: "DeleteTeamCreditAllocation"
method: POST
path: "/gitpod.v1.BillingService/DeleteTeamCreditAllocation"
tags: ["gitpod.v1.BillingService"]
---

# DeleteTeamCreditAllocation

`POST /gitpod.v1.BillingService/DeleteTeamCreditAllocation`

Deletes the credit allocation for a team.

 ### Examples

 - Delete a team's allocation:

   ```yaml
   organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   teamId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   ```

 ### Authorization

 Requires `billing:delete` permission on the organization.

## Request body

- GitpodV1DeleteTeamCreditAllocationRequest
  - `organizationId` string, uuid, required
  - `teamId` string, uuid, required

## Response `200`

Success

- GitpodV1DeleteTeamCreditAllocationResponse

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/versions/44d50c2ac284/schema)
