Skip to main content
PATCH
https://sandbox.getcollate.io/api
/
v1
/
glossaries
/
{id}
PATCH /v1/glossaries/{id}
from metadata.sdk import configure
from metadata.sdk.entities import Glossaries

configure(
    host="https://your-company.getcollate.io/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}")
{
  "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
}

Update a Glossary

Update a glossary’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.

Update by ID

id
string
required
UUID of the glossary to update.

Update by Name

Use PATCH /v1/glossaries/name/{fqn} to update by fully qualified name.
fqn
string
required
Fully qualified name of the glossary (e.g., BusinessGlossary).

Body Parameters

Send a JSON object with the fields to update. Only provided fields are changed.
description
string
Updated description in Markdown format.
displayName
string
Updated display name.
mutuallyExclusive
boolean
Updated mutually exclusive setting.
owners
array
Updated list of owner references.
reviewers
array
Updated list of reviewer references.
tags
array
Updated classification tags.
domain
string
Updated domain FQN.
PATCH /v1/glossaries/{id}
from metadata.sdk import configure
from metadata.sdk.entities import Glossaries

configure(
    host="https://your-company.getcollate.io/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}")
{
  "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

CodeError TypeDescription
400BAD_REQUESTInvalid JSON patch or malformed request
401UNAUTHORIZEDInvalid or missing authentication token
403FORBIDDENUser lacks permission to update this glossary
404NOT_FOUNDGlossary with given ID or FQN does not exist
409CONFLICTConcurrent modification detected