GitLab API

GitlabTool

Actions1095

Invitations → putApiV4GroupsIdInvitationsEmail

AI-generated

Summary

Update a group invitation by specifying the group ID and the invited user's email address, modifying invitation details via the request body.

Inputs

  • id (required) — The ID of the GitLab group to which the invitation belongs.
  • email (required) — The email address associated with the invitation to update.
  • putApiV4GroupsIdInvitationsEmail (required) — The request body containing the fields to update for the invitation.

Output shape

a JSON object representing the updated group invitation as returned by the GitLab API.

Requires authentication via GitLab API credentials unless 'Skip Authentication' is enabled. The operation corresponds to an HTTP PUT request to '/api/v4/groups/{id}/invitations/{email}'. No pagination or error envelope details are specified.

Examples

Example 1: Update invitation permissions

Set 'id' to the target group ID, 'email' to the invitee's email, and provide a body with the updated invitation properties (e.g., access level).

Links

Discussion