Delete a translation
Removes the translation of a form into one language. Respondents who open the form with that language get the form’s own language. Needs the forms:write scope and editor access to the form.
DELETE
https://api.responsly.com/v1/forms/{form_id}/translations/{lang_code} Send the language’s version from Get translations in the If-Match header, as when you save it: a language changed since you read it is not removed.
curl -X DELETE https://api.responsly.com/v1/forms/Dg8Lz5ep/translations/pl \ -H "Authorization: Bearer <token>" \ -H 'If-Match: "9c2e4b7a1f0d3e6c8b5a2f9e7d4c1b0a3e6f9c2d5b8a1e4d7c0f3b6a9e2d5c8"'The response is 204 No Content.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
403 | The token lacks forms:write, or the form belongs to another team or a workspace you cannot edit. |
404 | The form has no translation in this language. |
412 | The translation has changed since the version in If-Match, or the form was moved to another workspace or deleted. Nothing was removed. |
422 | The language is the form’s own: change the form’s language first. |
428 | The If-Match header is missing. |