GitLab API icon

GitLab API

Gitlab

Actions1062

Users → postApiV4UsersIdReject

AI-generated

Summary

Reject a GitLab user by ID using the POST /api/v4/users/{id}/reject endpoint.

Inputs

  • id (required) — The ID of the user to reject. Provided as a path parameter (integer).
  • skipAuthentication — If set to true, the request will be made without using GitLab API credentials.

Output shape

The raw response from the GitLab API for the reject operation (typically the user object or a success status).

No request body is required. Authentication uses the configured gitlabApi credential unless skipAuthentication is true.

Examples

Example 1: Reject user with ID 42

Set Id to 42, leave skipAuthentication false (default).

Links

Discussion