Attach custom metadata
Attach custom metadata to an asset (table, schema, etc) by its GUID. This is used to populate any of the custom metadata attributes on any type of asset.
Path parameters
-
guid string(uuid) Required
Unique identifier of the entity to retrieve.
Query parameters
-
isOverwrite boolean
When true, will act as a full replacement of custom metadata: any custom metadata not provided in the request body will have any existing value removed from the asset. When false, will act as a partial update of the custom metadata: only the attributes provided in the request body will be updated, and any other custom metadata attributes will be left as-is on the asset.
Body Required
Map of custom metadata types, with nested maps of their attributes and values to set on the asset.
-
Custom metadata name object
Display name of the custom metadata as it appears on the Atlan UI. In the example, this is
Additional contributors
curl \
-X POST https://tenant.atlan.com/api/meta/entity/guid/917ffec9-fa84-4c59-8e6c-c7b114d04be3/businessmetadata/displayName \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"Additional contributors":{"Data experts":["jsmith","jdoe"]}}'
{
"Additional contributors": {
"Data experts": [
"jsmith",
"jdoe"
]
}
}
{
"errorCode": "ATLAS-404-00-005",
"errorMessage": "Given instance guid abc123 is invalid/not found\n"
}