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

# Update a Glossary

> Create or update a glossary with a full request body

# Update a Glossary

Create a glossary or update it if it already exists, using `PUT /v1/glossaries` with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use `PATCH` with a JSON Patch array and the `application/json-patch+json` content type, as shown in the PATCH examples below.

## Body Parameters

**name** `string` *required*

Name of the glossary. Must be unique.

**displayName** `string`

Human-readable display name for the glossary.

**description** `string` *required*

Description of the glossary in Markdown format.

**owners** `array`

Array of owner references (users or teams) to assign to the glossary.

**properties**

**id** `string`

UUID of the owner entity.

**type** `string`

Type of owner entity, for example `user`, `team`.

**name** `string`

Name of the owner entity.

**reviewers** `array`

Array of user references who can review glossary term changes.

**properties**

**id** `string`

UUID of the user.

**type** `string`

Type of entity (always `user`).

**name** `string`

Name of the user.

**tags** `array`

Array of classification tags to apply to the glossary.

**properties**

**tagFQN** `string` *required*

Fully qualified name of the tag.

**labelType** `string`

Type of label, for example `Manual`, `Derived`, `Propagated`.

**state** `string`

State of the tag, for example `Suggested`, `Confirmed`.

**domains** `array`

Fully qualified names of the domains to assign for governance purposes.

**mutuallyExclusive** `boolean` (default: false)

If `true`, only one term from this glossary can be applied to an entity at a time.

```bash PUT /v1/glossaries theme={null}
curl -X PUT "{base_url}/api/v1/glossaries" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "BusinessGlossary",
    "displayName": "Business Glossary",
    "description": "Standard business terminology for the organization",
    "mutuallyExclusive": false,
    "owners": [],
    "reviewers": []
  }'
```

```python PATCH /v1/glossaries/{id} theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import Glossaries

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# Retrieve, modify, and update
glossary = Glossaries.retrieve("c2940a98-f147-6g46-cdef-31f0c4406dc3")
glossary.description = "Updated: Comprehensive business terminology dictionary"
glossary.mutuallyExclusive = True
updated = Glossaries.update(glossary)

print(f"Updated to version {updated.version.root}")
```

```java PATCH /v1/glossaries/{id} theme={null}
// client is an initialized OpenMetadataClient.
var glossaryId = "c2940a98-f147-6g46-cdef-31f0c4406dc3";
var glossary = client.glossaries().get(glossaryId);
glossary.setDescription("Updated: Comprehensive business terminology dictionary");

var updated = client.glossaries().update(glossaryId, glossary);
```

```bash PATCH /v1/glossaries/{id} theme={null}
# Update by ID
curl -X PATCH "{base_url}/api/v1/glossaries/c2940a98-f147-6g46-cdef-31f0c4406dc3" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: Comprehensive business terminology dictionary"}
  ]'

# Update by name
curl -X PATCH "{base_url}/api/v1/glossaries/name/BusinessGlossary" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: Comprehensive business terminology dictionary"}
  ]'
```

```json Response theme={null}
{
  "id": "c2940a98-f147-6g46-cdef-31f0c4406dc3",
  "name": "BusinessGlossary",
  "fullyQualifiedName": "BusinessGlossary",
  "displayName": "Business Glossary",
  "description": "Updated: Comprehensive business terminology dictionary",
  "version": 0.2,
  "updatedAt": 1769984330261,
  "updatedBy": "admin",
  "href": "http://localhost:8585/api/v1/glossaries/c2940a98-f147-6g46-cdef-31f0c4406dc3",
  "deleted": false,
  "owners": [],
  "reviewers": [],
  "tags": [],
  "mutuallyExclusive": true
}
```

***

## Returns

Returns the updated glossary object with the new version number.

## Response

**id** `string`

Unique identifier for the glossary (UUID format).

**name** `string`

Glossary name.

**fullyQualifiedName** `string`

Fully qualified name of the glossary.

**description** `string`

Updated description.

**version** `number`

Incremented version number.

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `400` | `BAD_REQUEST` | Invalid or malformed request body |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to update this glossary |
| `409` | `CONFLICT` | Concurrent modification detected |


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