> ## 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.

# updateInviteRequest

> Approve or reject a request to join the Network, a Space, or a Plan.

**Required scope:** `host:write:network_members`



**mutation** `updateInviteRequest(input: UpdateInviteRequestInput!): UpdateInviteRequestPayload`

## Arguments

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

Parameters for UpdateInviteRequest

## Returns

`UpdateInviteRequestPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

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

---

**`inviteRequest`**: `InviteRequest`

## Examples

```graphql Mutation
mutation UpdateInviteRequest($input: UpdateInviteRequestInput!) {
  updateInviteRequest(input: $input) {
    clientMutationId
    errors
    inviteRequest {
      approver {
        ambassadorLevel
        ambassadorLevelId
        avatarUrl
        badges {
          __typename
        }
        communityRole
        conversations {
          __typename
        }
      }
      avatarUrl
      converted
      createdAt
      email
      firstName
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id",
    "status": "APPROVED"
  }
}
```

```json Response
{
  "data": {
    "updateInviteRequest": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "inviteRequest": {
        "approver": {
          "ambassadorLevel": "string",
          "ambassadorLevelId": 1,
          "avatarUrl": "string",
          "badges": [
            {
              "__typename": "Badge"
            }
          ],
          "communityRole": "CONTRIBUTOR",
          "conversations": {
            "__typename": "PublicConversationConnection"
          }
        },
        "avatarUrl": "string",
        "converted": true,
        "createdAt": "value",
        "email": "string",
        "firstName": "string"
      }
    }
  }
}
```


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