SetEntityTags

Updated at:

Sets the tags for an entity. Currently, only entities of the maxcompute-table type are supported.

Operation description

Before you begin: The target workspace is bound to a MaxCompute compute engine, and the data table for which you want to set tags exists in the engine project.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

QualifiedName

string

Yes

The unique identifier of the entity. Example: maxcompute-table.projectA.tableA.

maxcompute-table.projectA.tableA

Tags

array

No

The list of tags.

UserEntityTag

No

The tag.

Response elements

Element

Type

Description

Example

object

The response structure.

Data

boolean

Indicates whether the operation is successful. Valid values:

  • true: Successful.

  • false: Failed.

true

RequestId

string

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

0000-ABCD-E****

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: Successful.

  • false: Failed.

true

ErrorCode

string

The error code.

101011005

ErrorMessage

string

The error message.

Invalid.Entity.EntityTypeNotSupported

HttpStatusCode

integer

The HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": true,
  "RequestId": "0000-ABCD-E****",
  "Success": true,
  "ErrorCode": "101011005",
  "ErrorMessage": "Invalid.Entity.EntityTypeNotSupported",
  "HttpStatusCode": 200
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.