Delete Translations
By passing the UID
and a language
arguments the entire language, along with all versions and field config for that language, will be deleted.
If there is only one language for an object, it cannot be deleted. If attempted a
DeleteException
error will be returned.
mutation deleteEpisode {
deleteEpisode(
uid: "4220f2b2-db6c-4c26-b870-204066bf534a",
language: "en-GB"
) {
uid,
language
}
}
Response:
[
{
"uid": "4220f2b2-db6c-4c26-b870-204066bf534a",
"language": "en-GB"
}
]
Updated 11 months ago