GitLab API icon

GitLab API

Gitlab

Actions1062

Deploy_tokens → deleteApiV4GroupsIdDeployTokensTokenId

AI-generated

Summary

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

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user.
  • token_id (required) — The ID of the deploy token to delete.
  • baseUrl — Optional base URL for the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Whether to skip authentication; defaults to false.

Output shape

no body — success/failure only

This operation performs an HTTP DELETE request to remove the deploy token. On success, the response typically contains no body, indicating the token was deleted. Authentication via the configured GitLab API credentials is used unless skipped.

Examples

Example 1: Delete deploy token by group ID and token ID

Set 'id' to the group's ID or path and 'token_id' to the target deploy token's ID. Execute the operation with authentication configured to remove the specified deploy token from the group.

Links

Discussion