Skip to content
campaiDeveloper
campai.com

Misc ยท Wiki

POST/{organizationId}/misc/wiki/pages/{pageId}/move

Move page

Puts a page with its subpages below another page, or at the top level, at an index among the pages there.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • wiki.edit
  • wiki.edit; staff limited to assigned items only pages below a page shared with them for editing, and only to such a page
Also checked, depending on the request and the records it touches
  • { wiki: { [permission]: true } }

Request

Path parameters

  • organizationIdidrequired
  • pageIdidrequired

Body

Content-Type: application/json

  • parentIdidrequirednullable
  • indexintegerrequired

    at least 0

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/misc/wiki/pages/YOUR_PAGE_ID/move' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.