Skip to content

Update Alerts assigned to specified item (audit, journey etc)

Request

PATCH /v3/alerts/assignments/{itemType}/{itemId}
Security
API_Key
Path
itemTypestringrequired
Enum:"AUDIT""WEB_JOURNEY"
itemIdinteger, (int64)required

ID of the item that can have assigned Alert(s) onto it. See also AlertAssignmentTypeEnum

Bodyapplication/json
assignmentUpdatesArray of objectsrequired
PATCH
/v3/alerts/assignments/{itemType}/{itemId}
curl -i -X PATCH \
  'https://api.observepoint.com/v3/alerts/assignments/{itemType}/{itemId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "assignmentUpdates": [
      {
        "alertId": 0,
        "operation": "ASSIGN"
      }
    ]
  }'

Responses

updated successfully

Response
No content