---
title: "Build bulk resource undelegation transactions"
method: POST
path: "/api/v2/{coin}/wallet/{walletId}/undelegateResources/build"
tags: ["Wallet"]
---

# Build bulk resource undelegation transactions

`POST /api/v2/{coin}/wallet/{walletId}/undelegateResources/build`

Builds one undelegation transaction per entry, collecting per-entry errors
rather than aborting the batch on first failure.

## Path parameters

- `coin` string, required — A cryptocurrency symbol or token ticker symbol
- `walletId` string, required

## Request body

- object — Build Resource Undelegations Request Body Request body for building bulk resource undelegation transactions. Each entry undelegates a resource (ENERGY or BANDWIDTH) previously delegated from the wallet's root address.
  - `undelegations` object[], required
    - `receiverAddress` string, required — The address receiving the delegated resource
    - `amount` string, required — Amount of resource to delegate (in sun for TRX)
    - `resource` string, required — Resource type to delegate, e.g. 'ENERGY' or 'BANDWIDTH'

## Response `200`

OK

- BuildDelegationsResponse
  - `transactions` unknown[], required
    - unknown
  - `errors` object[], required
    - `receiverAddress` string, required
    - `message` string, required

## Other responses

- `400` — Bad Request

---

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