Endpoint
/api/v2/tenants/{tenantId}/users/{userId}/alertViews
Path Parameters
orgId
string

userId
string

Query Parameters
isDescendingOrder
boolean

List preference indicating whether descending order is required.

sortName
string

Unique ID allotted to a view when an alert view is created.

viewType
string

Supported values: - All: Provides private and shared alert views of a client. - Private: Provides alerts that are private to the logged-in user. - Shared: Provides alerts that are shared across the client.

defaultView
boolean

Displays the default alert view.

Responses

OK

[
  {
    "defaultView": true,
    "description": "Testing 3",
    "id": 35,
    "name": "Warning and critical alerts",
    "viewType": "Shared"
  }
]
[
  {
    "defaultView": true,
    "description": "Testing 1",
    "id": 33,
    "name": "Last One Day Alerts",
    "viewType": "Private"
  },
  {
    "defaultView": true,
    "description": "Testing 2",
    "id": 34,
    "name": "Ticketed Alerts",
    "viewType": "Private"
  },
  {
    "defaultView": true,
    "description": "Testing 3",
    "id": 35,
    "name": "Warning and critical alerts",
    "viewType": "Shared"
  }
]