Skip to content

Category — Mass Delete (GraphQL)

Deletes several categories in one call. indices is the list of category ids to delete. The whole batch is pre-validated: if any id is the root category or a channel root, the entire batch is rejected with an error and nothing is deleted. Ids that don't exist are silently skipped and do not appear in deleted. deleted is the list of ids actually removed.

TIP

See the Categories overview for how the menu works.

Input

FieldTypeNotes
indices[Int!]!Category ids to delete

All admin operations require an admin Bearer token — see Authentication.

Released under the MIT License.