# Request Object for Deactivation Intent

## Parameters

### network
- **Type**: string  
- **Enum**: mainnet, testnet  
- **Required**: Yes

### amount
- **Type**: string  
- **Pattern**: `^[1-9]\d+$`  
- **Required**: Yes  
- **Description**: The amount of funds you want to deactivate (in Lamports).

### delegator_address
- **Type**: string  
- **Pattern**: `^[1-9A-HJ-NP-Za-km-z]{44}$`  
- **Description**: Public Key of an asymmetric key-pair.

### staking_authority
- **Type**: string  
- **Pattern**: `^[1-9A-HJ-NP-Za-km-z]{44}$`  
- **Description**: Public Key of an asymmetric key-pair.

### withdrawal_authority
- **Type**: string  
- **Pattern**: `^[1-9A-HJ-NP-Za-km-z]{44}$`  
- **Description**: Public Key of an asymmetric key-pair.

# Response Codes
- **200**: Created  
- **400**: Invalid request.  
- **401**: Header 'X-API-Key' missing.  
- **500**: Internal server error.

## Example cURL Request

```bash
curl --request POST \
     --url https://svc.blockdaemon.com/boss/v1/solana/mainnet/deactivation-intents \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

## Example Response Codes
- `200`
- `400`
- `401`
- `500`
