GitLab API

GitlabTool

Actions1095

Integrations → putApiV4ProjectsIdIntegrationsEmailsOnPush

AI-generated

Summary

Update the Emails on Push integration settings for a specific GitLab project by sending a PUT request to the project's integrations endpoint.

Inputs

  • id (required) — The ID of the GitLab project to update the Emails on Push integration for.
  • body (required) — The request payload containing the updated settings for the Emails on Push integration.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com if not specified.
  • skipAuthentication — Optionally skip authentication for this request.

Output shape

a JSON object reflecting the updated Emails on Push integration settings for the project

The returned data corresponds to the response from the PUT /api/v4/projects/{id}/integrations/emails-on-push GitLab API endpoint. Authentication is used by default unless skipAuthentication is set to true.

Examples

Example 1: Update Emails on Push settings

Specify the project ID and provide the new integration settings in the request body to configure Emails on Push for that project.

Links

Discussion