Skip to main content
POST
Require or release two-factor for a list of users

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
uid_list
string[]
required

User IDs to update. Supply at most 200 IDs.

Example:
required
boolean
required

Whether two-factor authentication is required.

Example:

true

Response

Per-uid outcome. A uid refused by scope or belonging to no account comes back under failed_uids with its reason while the rest are applied.