GitLab API

GitlabTool

Actions1095

User → putApiV4UserPreferences

AI-generated

Summary

Sends a request to GitLab’s /api/v4/user/preferences endpoint to work with the current user’s preferences. The operation’s default method is GET; choose another listed method to change the HTTP request method.

Inputs

  • Skip Authentication — Defaults to false. When enabled, hides the GitLab API authentication setting; otherwise the node requires GitLab API credentials.
  • Authentication — The hidden authentication selector defaults to GitLab API authentication when authentication is enabled.
  • baseUrl — Defaults to https://gitlab.com. The source says the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request: GET (default), POST, PUT, DELETE, HEAD, or PATCH.

Output shape

A response from the GitLab API, returned as node output.

The operation declares a required request body schema reference, but exposes no body fields in the supplied properties. The source pack does not include the request execution or response-mapping implementation, so the exact response shape is unspecified.

Examples

Example 1: Retrieve the current user's preferences using the default method.

Use GitLab API credentials and leave Method set to GET.

Example 2: Send a different kind of request to the preferences endpoint.

Set Method to POST, PUT, DELETE, HEAD, or PATCH as needed; the operation's request body schema is declared as required.

Links

Discussion