GitLab API

GitlabTool

Actions1095

Deploy_tokens → getApiV4ProjectsIdDeployTokensTokenId

AI-generated

Summary

Retrieve a specific deploy token by its ID for a given project owned by the authenticated user in GitLab.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user.
  • token_id (required) — The ID of the deploy token to retrieve.
  • skipAuthentication — Whether to skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance (default is https://gitlab.com).

Output shape

a single deploy token record as returned by GitLab's GET /projects/:id/deploy_tokens/:token_id endpoint

Returns the full details of the deploy token identified by token_id for the specified project id. If authentication is skipped or incorrect, the call may fail. No pagination is involved as it fetches a single resource.

Links

Discussion