GitLab API

GitlabTool

Actions1095

Project_access_tokens → postApiV4ProjectsIdAccessTokensTokenIdRotate

AI-generated

Summary

Rotates a project access token by sending a POST request to the GitLab API path for the specified project and token IDs. Uses the GitLab API credential unless authentication is skipped; the base URL is defined by the credential, with https://gitlab.com shown as the default.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API authentication credential.
  • Base URL — Defaults to https://gitlab.com; the node source says the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method selector; the UI defaults to GET. The operation path indicates token rotation, but the source pack does not show how this selector affects the request.
  • Path Parameters (required) — Project id and access-token token_id, both required by the operation schema.
  • Request body (required) — The operation schema declares a required body referencing postApiV4ProjectsIdAccessTokensTokenIdRotate, but exposes no body fields here.

Output shape

An API response passed through from the GitLab request.

The supplied source pack contains only the node class and does not show request execution or response mapping, so the response fields and exact runtime behavior cannot be determined from it.

Links

Discussion