Move Help Center category to another parent

Moves the category under parent_id, a category of the same site, or to the top level when parent_id is null. Its subcategories move with it, and its articles stay in it. No URL changes.

Categories can be nested at most 3 levels deep, counting the moved category's subcategories, so a move that would place any of them deeper fails with 409. A category cannot be moved under itself or one of its subcategories (422), nor under the parent it already has, or to the top level when it is already there (409).

position places the category in its new level: 0 makes it the first one, and a position past the end makes it the last one. Without position, the category becomes the last one in its level.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the Help Center category

Body Params
string | null
required

Category to move this category under. It must belong to the same site. Send null to move the category to the top level.

integer
≥ 0

0-based index of the category among its new siblings, the categories with the same parent_id. A position past the end places it last. Omit it to place the category last. Unlike the position of a returned category, this is an index, not a sort key.

Responses
204

It means that the category has been moved.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; version=1