Skip to main content

deleteLanguage

Requires permission platform:language:manage.

Deletes a language record. Languages are shared by every organization, so this needs the platform permission to manage languages, which only platform administrators hold.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteLanguage($id: String!) {
deleteLanguage(id: $id)
}

Variables:

{
"id": "string"
}

Response:

{
"data": {
"deleteLanguage": true
}
}
deleteLanguage(
id: String!
): Boolean!

Arguments​

deleteLanguage.id ● String! non-null scalar​

The ID of the language.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.