GitLab API

GitlabTool

Actions1095

Project_access_tokens → getApiV4ProjectsIdAccessTokensTokenId

AI-generated

Summary

Gets a project access token from the GitLab API using the configured HTTP method and project and token IDs.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab credential authentication.
  • Authentication — Uses the GitLab API credential when authentication is enabled; this field is hidden in the UI.
  • Base URL — Defaults to https://gitlab.com. The source indicates the effective base URL comes from the GitLab API credential.
  • Method — HTTP method for the request; defaults to GET. The UI also offers POST, PUT, DELETE, HEAD, and PATCH.
  • Id (required) — Project ID or URL-encoded project path.
  • Token_id (required) — ID of the project access token.

Output shape

A single GitLab API response item containing the requested project access token data.

The request path is /api/v4/projects/{id}/access_tokens/{token_id}. The provided source pack shows the OpenAPI tool setup but not the request execution or response-shaping implementation, so the exact returned fields and envelope are unspecified.

Links

Discussion