GitLab API icon

GitLab API

Gitlab

Actions1062

Users → postApiV4UsersIdBan

AI-generated

Summary

Bans a GitLab user by ID

Inputs

  • id (required) — The numeric ID of the user to ban
  • skipAuthentication — If true, the call is made without using GitLab API credentials

Output shape

object

Returns the banned user object as returned by the GitLab API (same structure as GET /users/:id)

Links

Discussion