Skip to content

Unset a translation

Removes the translation for a given language from an entry. The language to clear is sent in the JSON body (not as a path segment).

DELETE /api/v1/entries/{id}/translations

AuthRequired
Query parametersNone
NameTypeDescription
idstringEntry id
Authorization: Bearer <your-api-key>
Content-Type: application/json
{
"language": "de-DE"
}
FieldTypeRequiredDescription
languagestringyesLocale whose translation should be removed
Terminal window
curl -sS -X DELETE https://collingo.app/api/v1/entries/clentry0123456789abcdefg/translations \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{"language": "de-DE"}' \
-o /dev/null -w "%{http_code}\n"

Empty body. The translation for that language has been removed.

StatusWhen
400Validation failed
401Missing or invalid API key (ERR_UNAUTHORIZED)
403Insufficient role (ERR_FORBIDDEN)
404Entry not found
500Database or internal error