Accounts

Update an invitation

Updates a pending invitation.

patch/account/invitations/{invitation_id}

Request

Path parameters

invitation_idstring required
Example:Ai9nRx

Invitation ID

Request body

emailstring email
role'Owner' | 'Admin' | 'Member'

A member's role in the account.

disable_email_notificationsboolean

Create the member with email notifications off

team_idsstring[] nullable

IDs of teams to add the invitee to.

Response

Success

Example response

{
  "data": {
    "id": "Ai9nRx",
    "account_id": "Ab3kL9",
    "email": "newmember@example.com",
    "role": "Member",
    "created_by": {
      "id": "Uz4wKm",
      "name": "Jane Smith",
      "email": "jane@example.com"
    },
    "accepted_by": {
      "id": "Uz4wKm",
      "name": "Jane Smith",
      "email": "jane@example.com"
    }
  },
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.