Skip to content
campaiDeveloper
campai.com

Misc ยท Wiki

DELETE/{organizationId}/misc/wiki/pages/{pageId}/public-link

Remove public link

Turns off the public link of a page, so the link no longer opens it or its subpages. A new link gets a new address.

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 without the limit to assigned items
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/public-link' \
  --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.