Skip to main content

updateInvite

Mutation

Used to update the details of a specific user invite.

updateInvite(input: InviteUpdateRequestInput): InviteUpdateResponse

Arguments​

ArgumentTypeDefaultDescription
inputInviteUpdateRequestInputProvide the invite details you want to update here, such as the assigned role.

Returns​

InviteUpdateResponse

Example​

Request
mutation UpdateInvite($input: InviteUpdateRequestInput) {
updateInvite(input: $input) {
invite {
created
email
expiration
id
inviterUserId
roles
status
}
}
}