Skip to main content
POST
Set the 2FA source provider

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
organizationId
string

Auto-resolved from your API key / session. You can omit this; it is ignored by the server.

provider
object | null

Provider slug whose 2FA check feeds the People-tab 2FA column (must be bound to the 2FA task — call available-2fa-sources for options). Pass null or omit to clear the source.

Example:

"google-workspace"

Response

201 - undefined