GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersIdDeactivate

AI-generated

Summary

Deactivate a GitLab user by their user ID, triggering the corresponding POST request to the GitLab API endpoint for user deactivation.

Inputs

  • id (required) — The ID of the GitLab user to deactivate.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Whether to skip authentication for this operation; defaults to false.

Output shape

a single JSON response object returned by the GitLab API after attempting to deactivate the user

The response will contain data about the deactivated user or an error if the deactivation fails. Authentication is required unless explicitly skipped via the skipAuthentication parameter.

Links

Discussion