Deletes an entity from a collection.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteMetaCollectionEntity

The operation that you want to perform. Set the value to DeleteMetaCollectionEntity.

CollectionQualifiedName String Yes album.12345

The unique identifier of the collection.

EntityQualifiedName String Yes maxcompute.projectA.tableB

The unique identifier of the entity.

Response parameters

Parameter Type Example Description
RequestId String 0000-ABCD-E****

The ID of the request.

Status Boolean true

The result of the operation. Valid values:

true: succeeded

false: failed

HttpStatusCode Integer 200

The HTTP status code returned.

ErrorMessage String entity not exist

The error message returned.

ErrorCode String 999999

The error code returned.

Success Boolean true

Indicates whether the request was successful. Valid values:

true: The request was successful.

false: The request failed.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteMetaCollectionEntity
&CollectionQualifiedName=album.12345
&EntityQualifiedName=maxcompute.projectA.tableB
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteMetaCollectionEntityResponse>
    <RequestId>0000-ABCD-E****</RequestId>
    <Status>true</Status>
    <HttpStatusCode>200</HttpStatusCode>
    <ErrorMessage>entity not exist</ErrorMessage>
    <ErrorCode>999999</ErrorCode>
    <Success>true</Success>
</DeleteMetaCollectionEntityResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "0000-ABCD-E****",
  "Status" : true,
  "HttpStatusCode" : 200,
  "ErrorMessage" : "entity not exist",
  "ErrorCode" : "999999",
  "Success" : true
}

Error codes

For a list of error codes, see Service error codes.