GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific SSH certificate associated with a GitLab group by its ID. It is useful for managing group SSH keys, such as revoking access or cleaning up unused certificates. For example, an admin can automate the removal of outdated SSH certificates from a group to maintain security.

Use Case Examples

  1. Deleting an SSH certificate from a GitLab group by specifying the group ID and the SSH certificate ID.
  2. Automating SSH certificate cleanup for GitLab groups in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use, defaults to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is relevant for this operation.
Path Parameters Parameters to specify the group ID and the SSH certificate ID to delete.

Output

JSON

  • success - Indicates if the SSH certificate was successfully deleted.
  • statusCode - HTTP status code returned from the API request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and SSH certificate ID are correct and exist in GitLab.
  • Check that the API key has sufficient permissions to delete SSH certificates from groups.
  • If authentication is skipped, verify that the endpoint allows unauthenticated DELETE requests, which is uncommon.
  • Common error messages include 404 Not Found if the group or SSH certificate does not exist, and 403 Forbidden if the API key lacks permissions.

Links

Discussion