GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersIdUnblock

AI-generated

Summary

Unblock a user by their GitLab user ID using a POST request to the GitLab API endpoint /api/v4/users/{id}/unblock.

Inputs

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

Output shape

a single JSON object representing the updated user data returned from the unblock action

The operation returns the user object of the unblocked user. Authentication is required unless explicitly skipped. The user ID parameter is mandatory and passed as a path parameter.

Examples

Example 1: To unblock a GitLab user with ID 12345, set 'Id' to '12345' and execute this operation. The node sends a POST request to '/api/v4/users/12345/unblock' and returns the user details after unblocking.

Parameter 'Id' with the user's ID; optional 'baseUrl' if using a self-hosted GitLab instance; ensure 'skipAuthentication' is false to use stored credentials.

Links

Discussion