# Request to build a deactivate transaction

## Parameters

### network
- **Type**: string  
- **Required**: Yes  
- **Description**: The target Solana network (allowed 'mainnet' or 'testnet').

### delegator_address
- **Type**: string  
- **Required**: Yes  
- **Pattern**: `^[1-9A-HJ-NP-Za-km-z]{43,44}$`  
- **Description**: Wallet that will pay the transaction fee.

### stake_account_pubkey
- **Type**: string  
- **Required**: Yes  
- **Pattern**: `^[1-9A-HJ-NP-Za-km-z]{43,44}$`  
- **Description**: Stake account to deactivate.

## Response Codes

- **200**: OK  
- **400**: Invalid request.  
- **401**: Header 'X-API-Key' missing.  
- **500**: Internal server error.

## Example Request

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/sia/v2/solana/network/deactivate-intent \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

## Example Response Codes

- **200**
- **400**
- **401**
- **500**
