GitLab API

GitlabTool

Actions1095

Users → putApiV4UsersId

AI-generated

Summary

Update the details of an existing GitLab user identified by their user ID.

Inputs

  • Id (required) — The ID of the user to update, provided as a path parameter.
  • Request Body (required) — An object with the user properties to update, matching the putApiV4UsersId schema defined by the GitLab API.
  • Skip Authentication — Optionally skip authentication (default is false).
  • Base URL — The base URL for the GitLab API; defaults to https://gitlab.com.

Output shape

a single object representing the updated user record as returned by the GitLab API

The output structure corresponds to the response of the PUT /api/v4/users/{id} endpoint. Authentication is required unless 'Skip Authentication' is explicitly set to true.

Examples

Example 1: Update user's email and name by ID

Set 'Id' to the user ID to update and provide updated user details in the request body schema. Use default base URL and authentication.

Links

Discussion