---
title: "Undelegate ressources"
method: POST
path: "/api/v2/tron/undelegate"
tags: ["Tron Staking"]
---

# Undelegate ressources

`POST /api/v2/tron/undelegate`

Undelegation is used to release delegated resources, such as Bandwidth and Energy, which are required to perform transactions on the Tron network. Undelegating balance is a requirement for voting for Super Representatives and obtaining rewards.
To ensure proper delegation of balance, you need to ensure that you already delegated ressources to this address

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data', required

## Request body

- object
  - `address` string, required — Must match the regex /^T[1-9A-HJ-NP-Za-km-z]{33}$/.
  - `amount` number, required
  - `receiver` string, required
  - `resource` 'BANDWIDTH' | 'ENERGY', required
  - `password` string — The password for the address. This field is required when <code>privatekey</code> is not present.
  - `privatekey` string — The private key of the sender.

## Response `200`

Undelegated

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `result` boolean
    - `txid` string

## Other responses

- `422` — Not enough freezed balance

---

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