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

# Post Deactivation Intent

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

Creates a new unbond intent that opts out of the delegation program.
The user is getting back both their stake and the earned reward. The reward is sent immediately, but the stake gets locked for the so-called “unbonding period” of 2–3 days (or 80 Polygon checkpoints). Once the period is over, the user should call [GET Deactivation Intents](https://docs.blockdaemon.com/reference/getpolygondeactivationintents) and [POST Withdrawal Intent](https://docs.blockdaemon.com/reference/postpolygonwithdrawalintent) to actually get their stake back.

## Request body

- NewDeactivateIntentPolygon — Request object to create a new deactivation intent for Polygon.
  - `amount` string, required — Denomination of the cryptocurrency Polygon.
  - `wallet_address` string, hex, required — Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).
  - `validator_share_address` string, hex — Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).
  - `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.
  - `token_type` 'MATIC' | 'POL' — Polygon token type

## Response `200`

Created

- PolygonDeactivationIntentResponse — 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` 'polygon', required — Polygon protocol
  - `network` 'mainnet' | 'goerli' | 'prater', required — Polygon network
  - `polygon` DeactivateIntentPolygon, required — Polygon Deactivate Intent
    - `to` string, hex, required — Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).
    - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
    - `amount` string, required — Denomination of the cryptocurrency Polygon.
    - `wallet_address` string, hex, required — Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).

## 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)
