GitLab API

GitlabTool

Actions1095

Invitations → putApiV4ProjectsIdInvitationsEmail

AI-generated

Summary

Update an existing project invitation by specifying the project ID and the invitee's email address, submitting updated invitation details in the request body.

Inputs

  • Id (required) — The project ID to identify which project's invitation to update.
  • Email (required) — The email address of the invitation to update.
  • Request Body (required) — The updated invitation details in the request payload according to the schema defined by putApiV4ProjectsIdInvitationsEmail.
  • Skip Authentication — Optionally skip authentication for this request, default is false.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

a single JSON object representing the updated invitation resource returned by the GitLab API

This operation performs a PUT request to /api/v4/projects/{id}/invitations/{email} and returns the updated invitation data as JSON. Authentication is required unless explicitly skipped.

Examples

Example 1: Updating a project invitation

Provide the project ID, the invitee's email, and the new invitation details in the body to update that invitation within the specified project.

Links

Discussion