Forum Discussion
How to add glossary term to domain
Does anyone know how to add a glossary term to a domain using the REST API? What is the correct url?
None of these work:
url = f"{my_purview_endpoint}/unifiedcatalog/domains/{my_glossary_guid}/glossaryTerms"
url = f"{my_purview_endpoint}/datagovernance/catalog/businessdomains/{my_glossary_guid}/glossaryTerms"
url = f"{my_purview_endpoint}/businessdomains/{my_glossary_guid}/terms"
1 Reply
- milgo
Microsoft
Hello Gillerman!
Thanks for reaching out.
My first guess is that none of the URLs you tried are valid because domains ≠ glossaries in the API model; domains belong to Unified Catalog, while glossary terms are managed via the Glossary (Atlas) APIs.
I doubt that you can add a glossary term “to a domain” via a domain‑scoped URL. In Microsoft Purview, glossary terms are created independently using the Glossary (Data Map) REST API, and domain association is handled via metadata (not a /domains/{id}/terms endpoint). Could you try this
POST {purview-endpoint}/datamap/api/atlas/v2/glossary/term