Skip to content
campaiDeveloper
campai.com

Misc ยท Wiki

DELETE/{organizationId}/misc/wiki/pages/{pageId}

Delete page

Deletes a page with its subpages, their history, pictures and files.

Permissions

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

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

Request

Path parameters

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

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.