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

# Remove user connection

When invitee user accepts the invitation, a connection between two users is created.
This connection can be removed and two users will be excluded from each other's network.

To remove a connection, `removeUserConnection` mutation should be called.
It has one required incoming parameter - `userContextUuid` which represents the UUID of the user context
that is associated with the user who should be removed from the current API user's network.

<CodeGroup>
  ```filename GraphQL theme={null}
    mutation removeUserConnection {
      removeUserConnection(userContextUuid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890") {
        response
        errors
      }
    }
  ```

  ```File Query result [expandable] theme={null}
  {
    "data": {
      "removeUserConnection": {
        "response": true
        "errors": []
      }
    }
  }
  ```
</CodeGroup>

If the mutation executed without any errors, a boolean value will be returned as a response indicating the execution status.

<Note>
  If the connection was removed, a new invitation can be sent again from one of those users to another.
</Note>
