Delete asset by GUID
DELETE
/api/meta/entity/guid/{guid}
Remove an asset (table, schema, etc) by its GUID. By default the asset will be soft-deleted (archived). Such assets can be recovered.
Path parameters
-
guid string(uuid) Required
Unique identifier of the entity to delete.
Query parameters
-
deleteType string
When
SOFT
(default), will soft-delete (archive) the asset. WhenHARD
, will permanently remove the asset (cannot be recovered). Soft-deleted assets cannot be hard-deleted, they must first be restored to active.Values are
SOFT
orHARD
. Default value isSOFT
.
DELETE /api/meta/entity/guid/{guid}
curl \
-X DELETE https://tenant.atlan.com/api/meta/entity/guid/c47d2400-0c21-4c0d-b9fb-1d53440a75ae \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
{
"mutatedEntities": {
"DELETE": [
{
"typeName": "AtlasGlossaryTerm",
"attributes": {
"popularityScore": 1.17549435e-38,
"viewerUsers": [],
"sourceCreatedAt": 0,
"lastSyncRunAt": 0,
"certificateStatus": "VERIFIED",
"userDescription": "The average amount spent in order to acquire a customer.",
"adminRoles": [],
"adminGroups": [],
"qualifiedName": "u1qWdBZPF9vfEHXFcgEER@FzCMyPR2LxkPFgr8eNGrq",
"adminUsers": [],
"ownerGroups": [],
"certificateUpdatedBy": "service-account-apikey-e8d1f0bd-600e-4a8a-9248-b7c9aa1ef8c3",
"isEditable": true,
"sourceUpdatedAt": 0,
"announcementUpdatedAt": 0,
"name": "Customer Acquisition Cost",
"certificateUpdatedAt": 1657039477745,
"isDiscoverable": true,
"viewerGroups": [],
"ownerUsers": []
},
"guid": "c47d2400-0c21-4c0d-b9fb-1d53440a75ae",
"status": "DELETED",
"displayText": "Customer Acquisition Cost",
"classificationNames": [
"GeiqD5GfQoJ8oVzhspjQdo"
],
"meaningNames": [],
"meanings": [],
"isIncomplete": false,
"labels": [],
"createdBy": "service-account-apikey-e8d1f0bd-600e-4a8a-9248-b7c9aa1ef8c3",
"updatedBy": "service-account-apikey-e8d1f0bd-600e-4a8a-9248-b7c9aa1ef8c3",
"createTime": 1657039477745,
"updateTime": 1657039571112,
"deleteHandler": "DEFAULT"
}
]
}
}