Delete via the ApparelHub API
api_deleteDelete ApparelHub resources with an authenticated, account-scoped API call only when no dedicated tool covers the action; confirm with the user first because changes may be irreversible.
Instructions
Delete something in the ApparelHub Agent API (https://apparelhub.ai/developer/api-docs) with an authenticated DELETE, as the connected account. Changes data and may be irreversible: confirm with the user first. PREFER a dedicated tool when one exists (they return clean, guarded results); use this only for capabilities no tool covers. Call get_api_reference first to find the right path. path is relative (e.g. "orders", "store//settings"); no full URLs. Scoped to the account's own permissions.
[#7b60f1]
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": {
"path": "<path>"
},
"name": "api_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body. | |
| path | Yes | Relative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..". | |
| query | No | Query-string parameters. | |
| workspace | No | Workspace uuid to scope to (agency accounts). |