Skip to main content
POST
Revoke all sessions for an employee (admin)

Authorizations

Authorization
string
header
required

Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.

Path Parameters

id
string
required

Body

application/json
reason
string
required

Response

200 - application/json

Success

revoked
number
required