Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Request: DELETE request to the API below:

Expand
Code Block
languagejson
DELETE/api/v10/LandingPageLandingPageLayout/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

...

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

DELETE Methods

  • DELETE api/v9v4/LandingPagelandingPageLayout/{id}

    Delete Landing Page with a particular Id.Deletes a landing page layout

    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: Id of an entity to delete (FromUri)