POST /_system/security/methods/sms
Create SMS-based 2FA authentication method
Create SMS-based 2FA authentication method
| Key | Type | Example | Description |
|---|---|---|---|
| authorizationrequired | string | | Access token |
| Key | Type | Example | Description |
|---|---|---|---|
| nameoptional | string | | |
| phone_numberrequired | string | |
{
"sms_send": true
}{
"error": "ERROR_KEY"
}| Permission | Description |
|---|---|
Bearer token | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
users_twofactorauth_create | Required scope: users_twofactorauth_create |
Back to System Security Return to the System Security category to view other endpoints All API Categories Browse all available API categories
