Views

Reorder views

Reorder the saved views of a target. The order is the list of view IDs in their new order. Views omitted from the list keep their relative order after the provided ones.

post/views/reorder

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Request body

target'ASSETS' | 'EVENTS' | 'INTEGRATIONS' | 'ISSUES' | 'LOCATIONS' | 'PROFILES' | 'SCANS' | 'TARGETS' required

The resource the views apply to

orderstring[] required

The view IDs in their new order

Example request

{
  "order": [
    "00000000-0000-0000-0000-000000000000"
  ]
}

Response

OK

successboolean required

Whether the views were reordered

Changes

No recorded changes to this operation across all 1 revision of this API.