curl --request PUT \
--url https://api.goil.com/api/v1/external/alert/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "<string>",
"accountTypeId": "<string>",
"location": {
"latitude": 123,
"longitude": 123,
"accuracy": 0
},
"closed": 123
}
'