Skip to main content
Remove incident user assignments
curl --request DELETE \
  --url https://api.coralogix.com/mgmt/openapi/latest/incidents/incidents/v1/by-user \
  --header 'Authorization: <api-key>'
{
  "incidents": [
    {
      "assignments": [
        {
          "assignedBy": {
            "userId": "user_id"
          },
          "assignedTo": {
            "userId": "user_id"
          }
        }
      ],
      "contextualLabels": {},
      "createdAt": "2024-01-01T00:00:00.000Z",
      "displayLabels": {},
      "duration": "<string>",
      "events": [
        {
          "id": "incident_event_id",
          "incidentEventType": "INCIDENT_EVENT_TYPE_UNSPECIFIED",
          "originatorType": "ORIGINATOR_TYPE_UNSPECIFIED",
          "administrativeEvent": {
            "userId": "<string>"
          },
          "close": {
            "closedBy": {
              "userId": "user_id"
            }
          }
        }
      ],
      "id": "incident_id",
      "lastStateUpdateKey": "last_state_update_key",
      "lastStateUpdateTime": "2024-01-01T00:00:00.000Z",
      "severity": "INCIDENT_SEVERITY_UNSPECIFIED",
      "state": "INCIDENT_STATE_UNSPECIFIED",
      "status": "INCIDENT_STATUS_UNSPECIFIED",
      "closedAt": "2024-01-01T00:00:00.000Z",
      "description": "incident_description",
      "isMuted": false,
      "metaLabels": [
        {
          "key": "key",
          "value": "value"
        }
      ],
      "name": "incident_name"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

incident_ids
string[]

List of incident IDs to unassign

Example:
["incident_id_1", "incident_id_2"]

Response

Response containing the updated incidents after unassignment

incidents
Incident · object[]
required