Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

User Management > Accounts > Invitations → Patch An Invitation

AI-generated

Summary

Patch an existing Infomaniak invitation for a given account, updating fields such as billing, mailing, language, permissions, role type, and team IDs.

Inputs

  • Authentication (required) — Authentication method to use (OAuth2 or API Key).
  • Account (required) — The ID of the account containing the invitation.
  • Invitation (required) — The ID of the invitation to patch.
  • Has Billing — Whether the invitation has billing enabled.
  • Has Billing Mailing — Whether the invitation has billing mailing enabled.
  • Has Mailing — Whether the invitation has mailing enabled.
  • Language Id — Unique identifier of the language related to the invitation.
  • Permissions — Permissions object for the invitation.
  • Role Type — Role type assigned to the invitation (admin, normal, owner).
  • Team Ids — Team IDs associated with the invitation.
  • Return Full Response — If true, returns the full API response; otherwise returns only the data.

Output shape

The updated invitation object (or full API response if Return Full Response is enabled).

On success, returns the patched invitation data; on error, throws an exception.

Examples

Example 1: Update an invitation to set role type to admin and enable billing.

Set Authentication to OAuth2, Account to 123, Invitation to 456, Role Type to admin, Has Billing to true.

Links

Discussion