Skip to main content
PUT
/
api
/
v2
/
companies
/
{id}
/
set-all-alerts-read
Mark all alerts read (V2)
curl --request PUT \
  --url https://api.telemax.com.au/api/v2/companies/{id}/set-all-alerts-read \
  --header 'Authorization: Bearer <token>'
{}

Overview

Marks every alert record belonging to the specified company as read.
The V1 version of this endpoint is Mark all alerts read.
Rate limit: 20 requests per 60 seconds per token.

Endpoint

PUT /api/v2/companies/{id}/set-all-alerts-read

Path parameters

id
integer
required
Company ID.

Response

200 OK — empty body on success.

Error responses

StatusMeaning
401Token not scoped to this company
403Company not in caller’s accessible hierarchy
404Company not found
curl -X PUT "https://api.telemax.com.au/api/v2/companies/12/set-all-alerts-read" \
  -H "Authorization: Bearer <token>"

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from POST /api/v2/authentication/token/api-key.

Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.

Scoping: API key tokens are scoped to the company the key belongs to and may restrict access to a vehicle allowlist and/or action set (see token claims).

No refresh endpoint — re-authenticate with your API key when the token expires.

Path Parameters

id
integer
required

Response

200 OK — Empty body. All alert records marked as read.