APIs & Integrations

Not applicable

Delete Landing Page returns nothing

API doc says that “delete page” endpoint should return special message with succeeded flag
But actually, it returns empty response body with 204 code
Page is been deleted

DELETE https://api.hubapi.com/content/api/v2/pages/5413572053

HTTP/1.1 204 No Content
Access-Control-Allow-Credentials: false
Content-Type: application/json; charset=UTF-8
x-last-modified-timestamp: 1509471049364
X-Trace: 1B72EE7751DC180254F59218DD4ECC399621FAA40BB99F087BC1321891
Date: Tue, 31 Oct 2017 17:30:49 GMT
Connection: close

<Response body is empty>

It looks like a minor bug in API or a bug in doc

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Delete Landing Page returns nothing

Hi @dkBrazz,

I can reproduce that as well; I’ll touch base with product and work on updating the documentation.