🗑️ Delete Custom Glossary
This API deletes one or more glossary entries by their IDs.
📋 Basic Information
- Method:
POST - Path:
https://api.bluente.com/api/20250924/blu_translate/glossary/delete - Authentication: Required —
Authorization: Bearer $BLUENTE_API_KEY
📝 Request Parameters (Query)
Query String: none
Request Body
- Content-Type:
application/json - Body is an array of glossary item IDs to delete:
[242, 243]💡 Example
curl -X POST "https://api.bluente.com/api/20250924/blu_translate/glossary/delete" \
-H "Authorization: Bearer $BLUENTE_API_KEY" \
-H "Content-Type: application/json" \
-d '[242, 243]'or
fetch("https://api.bluente.com/api/20250924/blu_translate/glossary/delete", {
method: "POST",
headers: {
"Authorization": "Bearer $BLUENTE_API_KEY"
},
body: JSON.stringify([242, 243])
})✅ Success Response Example
{
"message": "success",
"code": 0
}📊 Response Fields
| Field | Type | Description |
|---|---|---|
message | string | Response message, usually "success" |
code | int | Status code, 0 means success |
❌ Error Response Example
{
"message": "invalid IDs",
"code": 400
}📌 Notes
- All IDs in the request array must exist and belong to the specified
user_id. - Deleting a glossary entry is permanent; it cannot be undone.
- To delete multiple entries, include all their IDs in the array.