PUT
/
sessions
/
{sessionId}
/
revoke
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/sessions/{sessionId}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "createdAt": "2023-11-07T05:31:56Z",
  "ipAddress": "<string>",
  "revokedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sessionId
string
required

ID of the session

Required string length: 36

Response

200
application/json
Successful
id
string
Required string length: 36
createdAt
string
ipAddress
string
revokedAt
string | null