---
title: "Unstake assets"
method: POST
path: "/stakes/unstake"
tags: ["Staking"]
---

# Unstake assets

`POST /stakes/unstake`

Execute unstaking operation to withdraw staked assets. Funds will become available after the network-specific cooldown period.

## Headers

- `X-SCX-SIGNED` string, required
- `X-SCX-TIMESTAMP` string, required
- `X-Request-Id` string, uuid

## Request body

- PostUnstakeBody
  - `participant_code` string, required — Participant identifier
  - `account_label` string, required — Settlement account label. The account must already exist for the participant.
  - `asset` string, required — Asset to unstake
  - `amount` string, required — Amount to unstake

## Response `201`

Unstake request successfully submitted

- PostUnstakeResponse
  - `request_id` string — Request identifier
  - `message` object
    - `unstake_id` string — The unique identifier of the unstake request
    - `participant_code` string — Participant identifier
    - `asset` string — Asset being unstaked
    - `account_group` string — Account group (usually the platform code)
    - `account_label` string — Settlement account label
    - `amount` string — Amount being unstaked
    - `status` 'submitted' | 'queued' | 'canceled' | 'broadcasted' | 'confirmed' | 'unstaked' | 'failed' — Status of the unstake request
    - `cooldown_period_days` integer — Number of days for cooldown period
    - `estimated_available_at` string, date-time — Estimated time when funds will be available
    - `created_at` string, date-time — Timestamp when unstake was created

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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