/
Using API to Delete a Landing Page

Using API to Delete a Landing Page

Overview

This API allows you to delete a landing page in Hawksearch dashboard.

Request: DELETE request to the API below:

DELETE/api/v10/LandingPage/1234 HTTP/1.1 Host: dashboard-na.hawksearch.com X-HawkSearch-ApiKey: USE_YOUR_API_KEY Cache-Control: no-cache Postman-Token: cd457184-4c00-a650-62f2-530f22a9a384

Response

The response is an array of landing page objects, every object being a series of key-value pairs. For the description of the data, please refer to Using API to Create Landing Pages

 

DELETE Methods

  • DELETE api/v9/LandingPage/{id}

    Delete Landing Page with a particular Id.

    Parameters

    • id: Unique Id of the Landing Page (FromUri)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/{guid}

    Delete Landing Page with a particular Guid.

    Parameters

    • guid: Guid of the Landing Page (FromUri)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/bulk

    Delete multiple Landing Pages at once.

    Parameters

    • pages: Collection of Landing Page objects to delete (FromBody)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/bulk/url

    Delete multiple Landing Pages at once.

    Parameters

    • pageUrls: Collection of Landing Page urls to delete (FromBody)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/bulk/guid

    Delete multiple Landing Pages at once.

    Parameters

    • pages: Collection of Landing Page guids to delete (FromBody)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/url/{url}

    Delete Landing Page with a particular url

    Parameters

    • url: Unique Url of the Landing Page (FromUri)

    • version: (FromUri)

  • DELETE api/v9/LandingPage/custom/{custom}

    Delete Landing Page by Custom field value

    Parameters

    • custom: Custom field value (FromUri)

    • version: (FromUri)

Related content

Using API to Get a Landing Page
Using API to Get a Landing Page
More like this
Using API to Get All Landing Pages
Using API to Get All Landing Pages
More like this
Dashboard API
More like this
Using API to Update Landing Pages
Using API to Update Landing Pages
More like this
Using API to Create Landing Pages
Using API to Create Landing Pages
More like this
Using API to Create Landing Page Layout
Using API to Create Landing Page Layout
More like this