cURL
curl --request PUT \ --url https://ctechnology.io/api/v2.2/notification/alert/{notification_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "read": true }'
{ "header": { "api_version": "<string>", "status": "<string>", "message": "<string>", "permission_via": [ { "permission": "<string>", "via": "me", "organization_id": "<string>" } ] }, "data": { "id": "<string>", "timestamp": "2023-11-07T05:31:56Z", "type": "VEHICLE_MOV", "priority": "ALERT", "title": "<string>", "message": "<string>", "data": "<unknown>", "read": true, "vehicle_id": "<string>", "action_id": "<string>" } }
Update a single notification.
Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.
Token 123
123
ID of notification to retrieve.
If this notification is read or not.
Successful update of this notification.
Default header sent along with single-resource responses.
Show child attributes
A notification that was generated for / sent to a user.