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)