Security Logs
List User Security Logs
Required scopes: security-log (Read only).
get/users/{userId}/security-logs
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User Identifier. Get via Get Authenticated User for own security logs
Query parameters
limitinteger
A maximum number of items to retrieve
offsetinteger
A starting offset in the collection
event'login' | 'password.set' | 'password.change' | 'email.change' | 'login.change' | 'personal_token.issued' | 'personal_token.revoked' | 'mfa.enabled' | 'mfa.disabled' | 'session.revoke' | 'session.revoke_all' | 'sso.connect' | 'sso.disconnect' | 'user.registered' | 'user.remove' | 'application.connected' | 'application.disconnected' | 'webauthn.created' | 'webauthn.deleted' | 'trusted_device.remove' | 'trusted_device.remove_all' | 'device_verification.enabled' | 'device_verification.disabled'
Example:login
createdAfterstring
Date in UTC, ISO 8601
createdBeforestring
Date in UTC, ISO 8601
ipAddressstring
Response
User Security Logs list
Example response
{
"data": [
{
"data": {
"id": 2,
"event": "Some event",
"info": "Some info",
"userId": 4,
"location": "USA",
"ipAddress": "127.0.0.1",
"deviceName": "MacOs on MacBook",
"createdAt": "2019-09-19T15:10:43+00:00"
}
}
],
"pagination": {
"limit": 25
}
}Changes
No recorded changes to this operation across all 1 revision of this API.