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

Tenant unique id

userId
string

Unique uuid for OpsRamp user

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"
  }
]