Method: Chainalysis::V1Client#update_alert_status

Defined in:
lib/chainalysis/client.rb

#update_alert_status(alert_identifier:, status:, comment: nil) ⇒ Object



164
165
166
167
168
# File 'lib/chainalysis/client.rb', line 164

def update_alert_status(alert_identifier:, status:, comment: nil)
  body = { status: status }
  body[:comment] = comment if comment
  post_request("v1/alerts/#{alert_identifier}/statuses", body)
end