GitLab API

GitlabTool

Actions1095

Users → patchApiV4UsersIdDisableTwoFactor

AI-generated

Summary

Sends a request to GitLab’s POST /api/v4/users/{id}/disable_two_factor endpoint to disable two-factor authentication for the specified user. Authentication uses the GitLab API credential unless Skip Authentication is enabled; the base URL comes from that credential.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Authentication — Uses the GitLab API credential when authentication is enabled.
  • Base URL — Defaults to https://gitlab.com; the node source says the credential defines the base URL.
  • Method — HTTP method selector, defaulting to GET in the UI. The operation path is for POST; the selected method may affect the request.
  • Id (required) — ID of the user whose two-factor authentication should be disabled.

Output shape

A single API response item.

No request body is declared. The response fields are not specified by the operation properties.

Links

Discussion