GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a specific email address associated with the authenticated GitLab user. It is useful for managing user email addresses by removing outdated or unwanted emails from the user's GitLab account. For example, if a user wants to remove an old email address from their GitLab profile, this operation can be used to delete that email by specifying its ID.

Use Case Examples

  1. Deleting an email address from the authenticated user's GitLab account by providing the email ID.
  2. Managing user email addresses programmatically to keep the account information up to date.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but set to DELETE for this operation.
Path Parameters The path parameters for the request, specifically the email_id which identifies the email to delete.

Output

JSON

  • success - Indicates whether the email deletion was successful.
  • statusCode - HTTP status code returned by the API after the delete operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the email_id path parameter is provided and is a valid integer representing an existing email ID.
  • Authentication errors may occur if the GitLab API key credential is missing or invalid; verify the credential configuration.
  • API rate limits or permission issues may cause the delete operation to fail; check user permissions and API usage limits.

Links

Discussion