Skip to main content
POST
Clear somebody's second factor and void their recovery codes.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Clear somebody's second factor and void their recovery codes.

Requires admin.user.edit, requires a reason, writes an audit row naming who cleared whom and mails the account it was done to — because whoever can do this can do it to an administrator.

p_reason
string<text>
required
p_user_id
string<uuid>
required

Response

200

OK