GitLab API icon

GitLab API

Gitlab

Actions1062

Users → deleteApiV4UsersIdEmailsEmailId

AI-generated

Summary

Deletes a specific email address of a GitLab user.

Inputs

  • id (required) — The ID of the user (integer).
  • email_id (required) — The ID of the email to delete (integer).
  • skipAuthentication — If set, the node will not use the GitLab API credential.
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).
  • authentication — Name of the GitLab API credential to use (defaults to gitlabApi).

Output shape

The raw response from GitLab’s DELETE /api/v4/users/{id}/emails/{email_id} endpoint (typically an empty body with a 204 status).

On success the node returns the HTTP response; on error it throws an n8n error.

Examples

Example 1: Remove user 123’s secondary email with ID 456.

Set id = 123, email_id = 456, leave skipAuthentication false, and use the default gitlabApi credential.

Links

Discussion