payware_products_delete_audio
Deletes an audio file from a product and cannot be undone. Use on Premium (PRM) plans only; other plans return a 403 error.
Instructions
[Merchant] Delete an audio file from a product. This action cannot be undone. Premium (PRM) plan only: the server answers 403 on any other plan (for an ISV, the merchant's plan).
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": {
"productId": "<productId>",
"audioId": "<audioId>"
},
"name": "payware_products_delete_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audioId | Yes | Audio identifier | |
| partnerId | No | Merchant partner ID (uses PAYWARE_PARTNER_ID env var as default) | partner_12345 |
| productId | Yes | Product identifier (starts with 'pr') | |
| privateKey | No | RSA private key for authentication (uses environment-specific private key as default) | |
| useSandbox | No | Use sandbox environment |