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.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
clientId*integer
Client Id
Query Parameters
limit?integer
Sets the limit
Range
1 <= value <= 500Default
10offset?integer
Sets the offset
Range
0 <= valueDefault
0sort_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" } ]}