Skip to Content
Client History

Get Client 2FA Change History

Returns the client 2FA enable/disable events, newest first by default. Requires the `general.clients.2fa_history_read` permission.

GET
/api/v2/clients/{clientId}/2fa-history

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

clientId*integer

Client Id

Query Parameters

limit?integer

Sets the limit

Range1 <= value <= 500
Default10
offset?integer

Sets the offset

Range0 <= value
Default0
sort_order?string

Sorts the items in ascending or descending order

Default"desc"

Value in

  • "asc"
  • "desc"
sort_by?"changedAt"

Sorts the items by a specified value

Default"changedAt"

Value in

  • "changedAt"

Header Parameters

accept-language?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/clients/1/2fa-history?limit=10&offset=0&sort_order=desc&sort_by=changedAt" \  -H "accept-language: ja"
{  "total": 0,  "data": [    {      "id": 0,      "enabled": true,      "provider": "string",      "changedAt": "2019-08-24T14:15:22Z"    }  ]}