GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersIdApprove

AI-generated

Summary

Approve a GitLab user by sending a POST request to the /api/v4/users/{id}/approve endpoint with the specified user ID.

Inputs

  • Id (required) — The ID of the GitLab user to approve.
  • Skip Authentication — Boolean flag to skip authentication; defaults to false.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

a single JSON object representing the API response from the user approval endpoint

The endpoint requires the user ID path parameter. Authentication is required unless skipped. The response format depends on the GitLab API's approval endpoint.

Links

Discussion