GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersIdUnban

AI-generated

Summary

Unban a user in GitLab by making a POST request to the /api/v4/users/{id}/unban endpoint, where {id} is the ID of the user to unban.

Inputs

  • Id (required) — The ID of the user to unban.

Output shape

A single record representing the API response confirming the user has been unbanned.

The operation uses the GitLab API credentials for authentication unless Skip Authentication is enabled. The base URL defaults to https://gitlab.com but can be customized. The output directly reflects the API's JSON response and may contain details about the unbanned user.

Links

Discussion