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

API key authentication. Accepts either:

  • App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
  • Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)

Path Parameters

pageIdOrPathname
string
required

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

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.