---
title: "Post Deactivation Intent"
method: POST
path: "/v1/cosmos/{network}/deactivation-intents"
tags: ["Cosmos"]
---

# Post Deactivation Intent

`POST /v1/cosmos/{network}/deactivation-intents`

Create transaction to undelegate given amount of ATOMs from a validator.

## Request body

- NewDeactivateIntentCosmos — Request object to create a new deactivation intent for Cosmos.
  - `delegator_address` string, bech32, required — Public Key of an asymmetric key-pair.
  - `amount` string, required — Denomination of the cryptocurrency Cosmos.
  - `plan_id` string — This feature enables you to stake to validators from the specified plan(s). When no plan id is specified, validators across all plans that match the API route will be available for staking. If it is a shared plan, you can to stake to validators on a shared node from the specified plan.

## Response `200`

Created

- CosmosDeactivationIntentResponse — Response to a new deactivation intent request.
  - `deactivate_intent_id` string, uuid, required — Unique idenifier for deactivate intent.
  - `customer_id` string, required — Unique identifier for a customer
  - `protocol` 'cosmos', required — Cosmos protocol
  - `network` 'mainnet' | 'testnet', required — Cosmos network
  - `cosmos` DeactivateIntentCosmos, required — Cosmos Deactivate Intent
    - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
    - `delegator_address` string, bech32, required — Public Key of an asymmetric key-pair.
    - `validator_address` string, bech32, required — Public Key of an asymmetric key-pair.
    - `amount` string, required — Denomination of the cryptocurrency Cosmos.
    - `hex_transaction` ProcessedComosTransaction — Returns back the transactionHash and unsignedTxHex for signing purposes
      - `transaction_hash` string — The SHA-256 hash of the signable transaction in hexadecimal format.
      - `unsigned_transaction_hex` string — The original unsigned transaction encoded in hexadecimal format.

## Other responses

- `400` — Invalid request.
- `401` — Unauthorized
- `500` — Internal server error

---

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