Responses
-
OK
-
Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries
error_messageinstead ofpage_idand was not written. An item whose row does not exist answersThe requested resource is not found. -
Bad Request - every item of a list request body failed. The body has the same shape as
207, witherror_messageon each item; nothing was written. A single-object request body that fails answers the standard error object instead.
DELETE
/profiles/{profile_id}/page_groups/{page_group_id}/pages
curl \
--request DELETE 'https://api.iformbuilder.com/exzact/api/v81/[servername]/profiles/self/page_groups/{page_group_id}/pages' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {access_token}" \
--data '[
{
"page_id": 11261236
},
{
"page_id": 11261239
}
]'
Request example
[
{
"page_id": 11261236
},
{
"page_id": 11261239
}
]
Response examples (200)
[
{
"page_id": 11261236
},
{
"page_id": 11261239
}
]
Response examples (207)
[
{
"page_id": 290857010
},
{
"error_message": "The requested resource is not found"
}
]
Response examples (400)
Every item of a list body failed
[
{
"error_message": "The requested resource is not found"
}
]
{
"error_message": "The requested resource is not found"
}