GitLab API icon

GitLab API

Gitlab

Actions1062

Deploy_tokens → deleteApiV4ProjectsIdDeployTokensTokenId

AI-generated

Summary

Delete a deploy token from a specified GitLab project by providing the project ID or URL-encoded path and the deploy token ID.

Inputs

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

Output shape

no body — success or failure HTTP status from the DELETE request to GitLab’s API.

The operation calls the DELETE method on the path /api/v4/projects/{id}/deploy_tokens/{token_id}. It returns no response body but indicates success via the HTTP status code. Authentication is required unless explicitly skipped.

Links

Discussion