This mutation deletes a user invitation.
Sample Mutation
Delete an invitation:
mutation{
deleteUserInvitation(orgId:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
email:"[email protected]")
}
Sample Response
{
"data": {
"deleteUserInvitation": true
}
}
Arguments
Name | Type | Description | Type |
---|---|---|---|
orgId | UUID | The organization ID. | Yes |
email | String | The user's email address. | Yes |
Returns
Name | Type | Description |
---|---|---|
deleteUserInvitation | Boolean | The deletion value. 'true' value represents the deleted invitation. |
Example
Delete a user invitation by the organization ID and email: