## Request Object for Creating Deactivation Intent for Polygon

### Parameters

- **network**  
  Type: `string`  
  Enum: Allowed values: `mainnet`, `goerli`, `prater`  
  Required

- **amount**  
  Type: `string`  
  Required: Must match regex `^[1-9]\d+$`  
  Description: Denomination of the cryptocurrency Polygon.

- **wallet_address**  
  Type: `string`  
  Required: Must match regex `^0x[a-fA-F0-9]{40}$`  
  Description: Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).

- **validator_share_address**  
  Type: `string`  
  Must match regex `^0x[a-fA-F0-9]{40}$`  
  Description: Hex-encoded Ethereum [account or smart contract address](https://ethereum.org/en/developers/docs/accounts/).

- **plan_id**  
  Type: `string`  
  Description: 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 stake to validators on a shared node from the specified plan.

- **token_type**  
  Type: `string`  
  Enum: Defaults to POL; Allowed values: `MATIC`, `POL`

### Response Codes

- **200**  
  Created

- **400**  
  Invalid request.

- **401**  
  Header 'X-API-Key' missing.

- **500**  
  Internal server error.

## Example cURL Request

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/boss/v1/polygon/mainnet/deactivation-intents \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"token_type":"POL"}'
```

### Example Response Codes

- 200
- 400
- 401
- 500
