GitLab API icon

GitLab API

Gitlab

Actions1062

Feature_flags_user_lists → postApiV4ProjectsIdFeatureFlagsUserLists

AI-generated

Summary

Sends a POST request to the GitLab API to create a feature flag user list for a project.

Inputs

  • id (required) — The ID or URL‑encoded path of the project (e.g., numeric ID or URL‑encoded path like group%2Fproject).
  • body (required) — Payload matching the GitLab API definition for a feature flag user list (see the node’s OpenAPI definition for the exact schema).
  • skipAuthentication — If true, the request will bypass authentication; otherwise the gitlabApi credential is used.
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).
  • authentication — Credential used for authentication (hidden, default: gitlabApi).

Output shape

The response body returned by GitLab’s POST /projects/:id/feature_flags_user_lists endpoint (typically the created feature flag user list object).

On error, the node throws an exception that can be caught by n8n’s error handling.

Examples

Example 1: Add a feature flag user list to project 130

Set Project ID to 130, provide a body object with the required fields (e.g., title and user_ids), keep defaults for skipAuthentication and baseUrl.

Links

Discussion