Delete a page

Request

Deletes a page.

Security
Bearer
Path
pageIdstringrequired

The page identifier.

Example:8f0b81bc-7388-46be-b109-6e73d1114470
Query
environmentIdstring

The identifier of the environment.

Example:environmentId=main
Body
permanentlyboolean

Whether the page should be permanently deleted (skipping the recycle bin). Example value: True

Example:true
forceDeleteboolean

Whether the page should be forcefully deleted (skipping the references check). Example value: True

Example:true
curl -i -X DELETE \
  'https://xmapps-api.sitecorecloud.io/api/v1/pages/8f0b81bc-7388-46be-b109-6e73d1114470?environmentId=main' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "permanently": true,
    "forceDelete": true
  }'

Responses

Success

Bodyapplication/json
boolean
Response
true