> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# revokeInvite

> Revoke an unaccepted invite. On the public API, revoking an invite the viewer
did not send additionally requires the `host:write:network_members` OAuth scope.

**Required scopes:** `write:invites`, `host:write:network_members` (any one)



**mutation** `revokeInvite(input: RevokeInviteInput!): RevokeInvitePayload`

## Arguments

**`input`**: `RevokeInviteInput!` (required)

Parameters for RevokeInvite

## Returns

`RevokeInvitePayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`invite`**: `Invite`

## Examples

```graphql Mutation
mutation RevokeInvite($input: RevokeInviteInput!) {
  revokeInvite(input: $input) {
    clientMutationId
    errors
    invite {
      channel
      convertedAt
      createdAt
      expiresAt
      id
      message
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "revokeInvite": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "invite": {
        "channel": "string",
        "convertedAt": "value",
        "createdAt": "value",
        "expiresAt": "value",
        "id": "id",
        "message": "string"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.