---
title: "Cancel an unstake"
method: POST
path: "/stakes/unstake/{unstake_id}/cancel"
tags: ["Staking"]
---

# Cancel an unstake

`POST /stakes/unstake/{unstake_id}/cancel`

Cancel a pending unstake request before it is fully processed.

## Path parameters

- `unstake_id` string, required

## Headers

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

## Response `200`

Unstake cancellation submitted

- PostCancelUnstakeResponse
  - `request_id` string — Request identifier
  - `message` object
    - `unstake_id` string — The unstake ID being cancelled

## Other responses

- `400` — Validation failed
- `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)
