# tools.ozone.team.updateMember

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.team.updateMember)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.team.updateMember/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.team.updateMember/examples)

## Definitions

### `tools.ozone.team.updateMember`

**Type**: `procedure`

Update a member in the ozone service. Requires admin role.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `role` | `string` | No |  |
| `disabled` | `boolean` | No |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **MemberNotFound**: The member being updated does not exist in the team

## Raw Schema

```json
{
  "id": "tools.ozone.team.updateMember",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            },
            "role": {
              "type": "string",
              "knownValues": [
                "tools.ozone.team.defs#roleAdmin",
                "tools.ozone.team.defs#roleModerator",
                "tools.ozone.team.defs#roleVerifier",
                "tools.ozone.team.defs#roleTriage"
              ]
            },
            "disabled": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "MemberNotFound",
          "description": "The member being updated does not exist in the team"
        }
      ],
      "output": {
        "schema": {
          "ref": "tools.ozone.team.defs#member",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Update a member in the ozone service. Requires admin role."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
