Update User Event

Update User Event

This API supports only user events. The API does not support update of system events (e.g. alert events). The following fields are readonly and will be ignored when passed in the request: id, isEphemeral, isUserEvent, runningState, canDelete, canClose, creatorType, createdAt, updatedAt, createdEpochMillis, updatedEpochMillis, updaterId, creatorId, and summarizedEvents

Request
URI
PUT
https://{api_host}/api/v2/event/{id}
COPY
Path Parameters
string
id
Required

id


Request Body

Example Body:

{
  "name": "Event API Example",
  "annotations": {
    "severity": "info",
    "type": "event type",
    "details": "description"
  },
  "tags" : [
    "eventTag1"
  ],
  "startTime": 1490000000000,
  "endTime": 1490000000001
}
Event of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "annotations": {},
    "startTime": 0
}
{
    "computedHlps": [
        {
            "severity": "string",
            "host": "string",
            "startTime": 0,
            "label": "string",
            "observed": 0,
            "firing": 0,
            "tags": {
                "tags": "string"
            }
        }
    ],
    "table": "string",
    "dimensions": {
        "dimensions": [
            "string"
        ]
    },
    "name": "string",
    "annotations": {
        "annotations": "string"
    },
    "id": "string",
    "startTime": 0,
    "endTime": 0,
    "createdEpochMillis": 0,
    "updatedEpochMillis": 0,
    "tags": [
        "string"
    ],
    "metricsUsed": [
        "string"
    ],
    "createdAt": 0,
    "hosts": [
        "string"
    ],
    "summarizedEvents": 0,
    "alertTags": [
        "string"
    ],
    "isUserEvent": false,
    "isEphemeral": false,
    "creatorId": "string",
    "updaterId": "string",
    "updatedAt": 0,
    "runningState": "string",
    "canDelete": false,
    "canClose": false,
    "creatorType": [
        "string"
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerEvent of type(s) application/json
"ResponseContainerEvent Object"
object
status
Required

status

object
response
Optional

Wavefront Event


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"annotations:"object","name:"string","startTime:"integer"}' https://{api_host}/api/v2/event/{id}