Endpoint
/api/v2/tenants/{tenantId}/users/{userId}/alertViews
Path Parameters
orgIdstring
userIdstring
Query Parameters
isDescendingOrderboolean
List preference indicating whether descending order is required.
sortNamestring
Unique ID allotted to a view when an alert view is created.
viewTypestring
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.
defaultViewboolean
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"
}
]