---
title: "Withdraw credits from warehouse"
method: POST
path: "/organizations/{id}/warehouse/withdraw"
tags: ["Organization warehouse"]
---

# Withdraw credits from warehouse

`POST /organizations/{id}/warehouse/withdraw`

This endpoint withdraws credits from the organization warehouse.

## Path parameters

- `id` string, required

## Headers

- `x-icr-api-version` string

## Request body

- DepositOrganizationCreditsInWarehouseRequestDto
  - `tokenId` string, required — The onchain token id
  - `tokenAddress` string, required — The contract address of the token
  - `amount` number, required — The amount of tokens to deposit

## Response `200`

- DepositOrganizationCreditsInWarehouseResponseDto
  - `success` boolean, required — Whether the action was successful or not
  - `transactionId` string, required — Transaction id for this tx

---

[API](https://skmtc.net/carbonregistry/apis/carbon-registry-rest-api.md) · [All operations](https://skmtc.net/carbonregistry/apis/carbon-registry-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonregistry/carbon-registry-rest-api/revisions/a9f1b102faca/schema)
