Entity - Update Classifications
Update classifications to an existing entity represented by a guid.
PUT {endpoint}/datamap/api/atlas/v2/entity/guid/{guid}/classifications
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
endpoint
|
path | True |
string (uri) |
|
|
guid
|
path | True |
string |
The globally unique identifier of the entity. |
Request Body
| Name | Type | Description |
|---|---|---|
| body |
An array of classifications to be updated. |
Responses
| Name | Type | Description |
|---|---|---|
| 204 No Content |
There is no content to send for this request, but the headers may be useful. |
|
| Other Status Codes |
An unexpected error response. |
Security
OAuth2Auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| https://purview.azure.net/.default |
Examples
Entity_UpdateClassifications
Sample request
PUT {endpoint}/datamap/api/atlas/v2/entity/guid/45dd4404-e897-b7e2-ca3c-f6e6b11b4f24/classifications
[
{
"typeName": "MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER",
"entityGuid": "45dd4404-e897-b7e2-ca3c-f6e6b11b4f24"
},
{
"typeName": "MICROSOFT.FINANCIAL.US_BANK_ACCOUNT_NUMBER",
"entityGuid": "45dd4404-e897-b7e2-ca3c-f6e6b11b4f24"
}
]
Sample response
Definitions
| Name | Description |
|---|---|
|
Atlas |
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. |
|
Atlas |
An error response from the service |
|
Entity |
Status - can be active or deleted |
|
Time |
Captures time-boundary details |
AtlasClassification
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
| Name | Type | Description |
|---|---|---|
| attributes |
|
The attributes of the struct. |
| entityGuid |
string |
The GUID of the entity. |
| entityStatus |
Status of the entity - can be active or deleted. Deleted entities are not removed. |
|
| lastModifiedTS |
string |
ETag for concurrency control. |
| removePropagationsOnEntityDelete |
boolean |
Determines if propagations will be removed on entity deletion. |
| typeName |
string |
The name of the type. |
| validityPeriods |
An array of time boundaries indicating validity periods. |
AtlasErrorResponse
An error response from the service
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
The error code. |
| errorMessage |
string |
The error message. |
| requestId |
string (uuid) |
The request ID. |
EntityStatus
Status - can be active or deleted
| Value | Description |
|---|---|
| ACTIVE |
The status is active. |
| DELETED |
The status is deleted. |
TimeBoundary
Captures time-boundary details
| Name | Type | Description |
|---|---|---|
| endTime |
string |
The end of the time boundary. |
| startTime |
string |
The start of the time boundary. |
| timeZone |
string |
The timezone of the time boundary. |