TwoStepVerification: turnOff

Turn off 2-Step Verification for user. Try it now.

If successful this call will turn off 2-Step Verification and also remove all registered second steps on the user account. This call will fail if user is 2-Step Verification enforced, or is enrolled in the Advanced Protection Program.

Request

HTTP request

POST https://www.googleapis.com/admin/directory/v1/users/userKey/twoStepVerification/turnOff

Parameters

Parameter name Value Description
Path parameters
userKey string Email or immutable ID of the user

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/admin.directory.user.security

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.