Administration (opt-in)
Administration
List Categories
read-onlyidempotentopen-worldExhaustively list categories visible to the selected identity through bounded pagination. Returns stable IDs, slugs, hierarchy (parent_category_id; pid is a legacy alias), access flags, counts, structured completion metadata, and JSON text fallback. Opt in with the administration toolset.
Parameters
termstringmax_ pagesinteger[1, 40]max_ requestsinteger[1, 40]max_ resultsinteger[1, 1000]deadline_ msinteger[100, 120000]Returns
categoriesArray<object>requiredmetaobjectrequiredList Site Settings
read-onlyidempotentopen-worldList admin-visible Discourse site settings with bounded metadata, optionally returning only settings whose current value differs from the default. Secret and credential-like values are always masked.
Parameters
categoriesArray<string>pluginstringnamesArray<string>overridden_ onlybooleanoffsetinteger>= 0limitinteger[1, 500]Manage User Activation
destructiveidempotentopen-worldActivate, approve, activate-and-approve, or deactivate one user through Discourse's authoritative admin routes. Requires explicit confirmation and upstream staff authorization.
Parameters
usernamestringrequiredactionstringactivateapproveactivate_and_approvedeactivaterequiredconfirmbooleanrequiredMust be true because this changes account access state