Skip to main content
DELETE
/
v6
/
pages
/
{pageIdOrPathname}
Delete Page
curl --request DELETE \
  --url https://api.makeswift.com/v6/pages/{pageIdOrPathname} \
  --header 'x-api-key: <api-key>'

Authorizations

x-api-key
string
header
required

The App API key.

(e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)

Path Parameters

pageIdOrPathname
string
required

The page ID or pathname for the page you are deleting.

Minimum string length: 1

Query Parameters

siteId
string<uuid>

The site ID required when using a pathname instead of a page ID.

Response

The response that indicates success when the page is deleted.