GET /_system/security/methods
Get all 2FA methods for current user
Get all 2FA methods for current user
| Key | Type | Example | Description |
|---|---|---|---|
| authorization required | string |
"Bearer access_token"
|
Access token
|
[
{
"_meta": {
"guid": "example-string",
"entity": 42,
"removed": 42,
"created": 42,
"updated": 42,
"ums": 42,
"cms": 42,
"expiry": 42,
"update_hash": "example-string"
},
"method": "example-string",
"default": true,
"phonenumber": "example-string",
"secret": "example-string",
"token": "example-string"
}
]
{
"error": "ERROR_KEY"
}
| Permission | Description |
|---|---|
Bearer token |
Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
users_twofactorauth_view |
Required scope: users_twofactorauth_view |
Back to System Security Return to the System Security category to view other endpoints All API Categories Browse all available API categories