ghl_affiliate_delete_payout_method
Delete a payout method from an affiliate. The primary method cannot be deleted if the affiliate has more than one.
Instructions
Delete Payout Method Delete a payout method. The primary method cannot be deleted while the affiliate holds more than one. Endpoint: DELETE /affiliate-manager/{locationId}/affiliate/{affiliateId}/payout-method/{payoutMethodId} (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>",
"affiliateId": "<affiliateId>",
"payoutMethodId": "<payoutMethodId>"
},
"name": "ghl_affiliate_delete_payout_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id | |
| payoutMethodId | Yes | Payout Method Id |