GitLab API

GitlabTool

Actions1095

Personal_access_tokens → getApiV4PersonalAccessTokensSelf

AI-generated

Summary

Retrieve the authenticated user's own personal access tokens from the GitLab API at the endpoint /api/v4/personal_access_tokens/self.

Inputs

  • Skip Authentication — Set to true to skip authentication for this request (default is false).
  • Authentication (required) — Select the GitLab API credential to authenticate the request; hidden unless Skip Authentication is true.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method — HTTP method to use; fixed to GET for this operation (default is GET).

Output shape

a JSON object representing the authenticated user's personal access tokens retrieved from the GitLab API.

No pagination or additional parameters are required; the request returns the personal access tokens associated with the authenticated user. Authentication is required unless Skip Authentication is set to true (not recommended). Output follows the GitLab API v4 personal access token schema under /api/v4/personal_access_tokens/self.

Links

Discussion