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

# updateMember

> Update a member of the current Network. A member updates their own profile; a
Network Host may additionally change another member's first name, last name
and email address, and nothing else. On the public API, editing your own
profile requires the `write:profile` OAuth scope (or
`host:write:network_members` on a Host credential), and editing another member
requires `host:write:network_members`. An address a Network Host sets is
applied without a verification code, and leaves the member unverified until
they verify the new address themselves; passing a code on that path is an
error rather than a way to verify it for them.



**mutation** `updateMember(input: UpdateMemberInput!): UpdateMemberPayload`

## Arguments

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

Parameters for UpdateMember

## Returns

`UpdateMemberPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

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

---

**`member`**: `Member`

## Examples

```graphql Mutation
mutation UpdateMember($input: UpdateMemberInput!) {
  updateMember(input: $input) {
    clientMutationId
    errors
    member {
      ambassadorLevel
      ambassadorLevelId
      avatarUrl
      badges {
        avatarUrl
        color
        createdAt
        creator {
          __typename
        }
        customField {
          __typename
        }
        description
      }
      communityRole
      conversations {
        edges {
          __typename
        }
        nodes {
          __typename
        }
        pageInfo {
          __typename
        }
      }
    }
  }
}
```

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

```json Response
{
  "data": {
    "updateMember": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "member": {
        "ambassadorLevel": "string",
        "ambassadorLevelId": 1,
        "avatarUrl": "string",
        "badges": [
          {
            "avatarUrl": "string",
            "color": "string",
            "createdAt": "value",
            "creator": {
              "__typename": "User"
            },
            "customField": {
              "__typename": "CustomField"
            },
            "description": "string"
          }
        ],
        "communityRole": "CONTRIBUTOR",
        "conversations": {
          "edges": [
            {
              "__typename": "PublicConversationEdge"
            }
          ],
          "nodes": [
            {
              "__typename": "Space"
            }
          ],
          "pageInfo": {
            "__typename": "PublicConversationPageInfo"
          }
        }
      }
    }
  }
}
```


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