ms_delete_raw
Delete any Moysklad entity at a specified API path, including non-catalog endpoints. Use with required write confirmations to remove data directly via DELETE requests and receive a JSON result or error response.
Instructions
Delete data at ANY path, including paths not in the catalog.
Target API: https://dev.moysklad.ru/doc/api/remap/1.2/.
DELETE only. Both confirm_write=true and i_understand_this_modifies_data=true are required.
Args: path: full path beginning with '/'. method: DELETE. host: host override; defaults to the service's default host. query: query-string parameters. body: JSON request body. confirm_write: must be true. i_understand_this_modifies_data: must be true. Returns JSON: {"ok": true, "status", "data"} or the error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| host | No | ||
| path | Yes | ||
| query | No | ||
| method | No | DELETE | |
| confirm_write | No | ||
| i_understand_this_modifies_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |