v3

latestSwagger 2.02026-07-139789260.9 KB

Set labels to a given entity identified by its type and unique attributes.

If labels is null/empty, existing labels will all be removed.

In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName.

The REST request would look something like this: POST /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue.

post/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels

Path parameters

typeNamestring required

The name of the type.

Query parameters

attr:qualifiedNamestring

The qualified name of the entity. (This is only an example. qualifiedName can be changed to other unique attributes)

Request body

string[] required

Response

There is no content to send for this request, but the headers may be useful.