PUT Alerts Alert Id History Record Timestamp

PUT Alerts Alert Id History Record Timestamp

Updates alert history record by timestamp

Request
URI
PUT
https://{api_host}/api/v1/alerts/{alertId}/history/{recordTimestamp}
COPY
Path Parameters
integer
recordTimestamp
Required
Constraints: minimum: 0 maximum: 9223372036854776000

The timestamp of the history record

string
alertId
Required

The UUID of the alert


Request Body

Show optional properties

{
    "acknowledged": false
}
{
    "acknowledged": true
}
boolean
acknowledged
Required

acknowledged

Authentication
This operation uses the following authentication methods.
Responses
200
Operation doesn't return any data structure

Response Headers

string
Warning

Additional information about the life-cycle status of the API.

string
VMware-LI-API-Status

Indicates the life-cycle status of the API.


401

The request was refused because it lacks valid authentication credentials. This can happen if the Authorization header was missing, or if it contained an invalid session ID.

Obtain a new session ID and retry the request, or make an unauthenticated request without the Authorization header.

"Invalid session ID"

440

The request was refused because the session ID has expired. Obtain a new session ID from /api/v1/sessions.

"Login Timeout"

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"acknowledged:"boolean"}' https://{api_host}/api/v1/alerts/{alertId}/history/{recordTimestamp}