## Add Nomination Proxy and Revoke Nomination Proxy Endpoints

**Note**: The **Add Nomination Proxy** and **Revoke Nomination Proxy** endpoints do not perform on-chain actions. These are off-chain, one-time operations that trigger Figment's internal logic only.

### Parameters

- **stash_account_address**  
  Type: `string`  
  Required: Yes  
  Description: A valid Polkadot address.

- **controller_account_address**  
  Type: `string`  
  Required: Yes  
  Description: A valid Polkadot address.

- **network**  
  Type: `string`  
  Enum: `polkadot`, `westend`  
  Required: Yes

### Responses

- **202 Success**  
  Response Type: `object`  
  - `success`: boolean

- **400 Bad request**

- **401 Invalid API key**

- **422 Unprocessable entity**

### Example Usage

**cURL Command**

```shell
curl --request POST \
     --url https://api.figment.io/polkadot/nomination_proxy/revoke_proxy \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '
{
  "network": "polkadot"
}
'
```

**Response Example**

```json
{
  "success": true
}
```
