Delete a parser backend¶
Delete the specified parser backend and its endpoints.
DELETE https://api.moi.matrixorigin.cn/v5/parser/backends/{backend_id}
Before you call this API¶
Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5; use the corresponding product API URL for a dedicated deployment.
Configure identity, workspace, and permissions in the same environment.
Request¶
curl --request DELETE \
"$BASE_URL/parser/backends/$BACKEND_ID" \
--header "X-API-Key: $MOI_KEY" \
--header "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Location |
Type |
Required |
Description |
|---|---|---|---|---|
|
Headers |
string |
Yes |
Workspace ID in the same environment. |
|
Path |
integer |
Yes |
Canonical positive integer ID returned by creation/read for the same Parser kind. |
Requires object delete permission. Deletes the backend/endpoints through the formal lifecycle. Returns HTTP 200 with data:null; SDK/CLI may synthesize success:true. Handle missing objects, references, and failures through actual admission and error rules. A storage branch does not establish public idempotency.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
HTTP 200, OK on success. |
|
string |
OK on success. |
|
null |
Actual objects or null values. Do not infer wrappers from LLM APIs. |
Error responses¶
Errors and result confirmation distinguishes actual inputs, object admission, and business results.