APIs & Integrations

Hirthikraj
Participant

Delete Page API not working

SOLVE

Hi team,

I am trying to delete landing page using the API mentioned in this documentation and also the V3 api. I am getting 301 response instead of 204 response [successful response code].

I cannot delete a landing page using this API. 

Is there any other API for deleting Landing page or any other solution?

Thank you.

 

Hirthik

0 Upvotes
1 Accepted solution
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Delete Page API not working

SOLVE

Hello @Hirthikraj,

 

Make sure that the page_id that you are using exists in the HubSpot. Also, I recommend you try v3 API (currently in beta but you can use it) https://developers.hubspot.com/docs/api/cms/pages.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

1 Reply 1
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

Delete Page API not working

SOLVE

Hello @Hirthikraj,

 

Make sure that the page_id that you are using exists in the HubSpot. Also, I recommend you try v3 API (currently in beta but you can use it) https://developers.hubspot.com/docs/api/cms/pages.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology