GitLab API icon

GitLab API

Gitlab

Actions1062

Project_access_tokens → postApiV4ProjectsIdAccessTokens

AI-generated

Summary

Create a project-level access token in GitLab.

Inputs

  • projectId (required) — The ID or URL-encoded path of the GitLab project.
  • requestBody (required) — Token definition (e.g., name, expires_at, scopes) as per GitLab API.
  • skipAuthentication — If true, bypass gitlabApi credentials and send request unauthenticated.

Output shape

object

Returns the created token with id, token, name, expires_at, scopes, etc.

Examples

Example 1: Basic usage

Provide Project ID and token details in the request body.

Links

Discussion