GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific access token from a GitLab group by its token ID. It is useful for managing group access tokens, such as revoking access when a token is no longer needed or compromised. For example, an administrator can use this node to remove a token associated with a group to ensure security compliance.

Use Case Examples

  1. Deleting an access token from a GitLab group to revoke its permissions.
  2. Automating the cleanup of expired or unused group access tokens in GitLab.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or public endpoints.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters to specify the group ID and the token ID to delete.

Output

JSON

  • success - Indicates whether the token deletion was successful.
  • statusCode - HTTP status code returned from the API request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and token ID are correctly specified; incorrect IDs will cause the deletion to fail.
  • Authentication errors may occur if the API key is missing or invalid; verify the API key credentials.
  • HTTP method must be DELETE for this operation; using other methods may result in errors.

Links

Discussion