GitLab API

GitlabTool

Actions1095

Users → deleteApiV4UsersIdEmailsEmailId

AI-generated

Summary

Delete a specific email address of a user in GitLab by user ID and email ID.

Inputs

  • id (required) — The ID of the user whose email address you want to delete.
  • email_id (required) — The ID of the email address to delete for the specified user.
  • skipAuthentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).

Output shape

no body — success/failure status only

The operation performs an HTTP DELETE request and returns success or failure status. No response body is expected from the GitLab API for this operation.

Examples

Example 1: Removing a secondary email from a user's GitLab account

Provide the user ID and the email ID to delete the specific email linked to the user.

Links

Discussion