All Products
Search
Document Center

DataWorks:DeleteQualityEntity

Last Updated:Oct 13, 2023

Deletes a partition filter expression.

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 DeleteQualityEntity

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

EntityId Long Yes 1234

The ID of the partition filter expression.

ProjectName String Yes autotest

The name of the compute engine instance or data source.

EnvType String Yes odps

The type of the compute engine instance or data source. The following types are supported: E-MapReduce (EMR), Hologres, AnalyticDB for PostgreSQL, CDH, MaxCompute, Kafka, and DataHub.

ProjectId Long No 12345

The ID of the workspace.

Response parameters

Parameter

Type

Example

Description

HttpStatusCode Integer 200

The HTTP status code.

Data Boolean true

The returned result.

ErrorMessage String You have no permission.

The error message.

RequestId String ecb967ec-c137-48****

The request ID.

Success Boolean true

Indicates whether the request was successful.

ErrorCode String 401

The error code.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteQualityEntity
&EntityId=1234
&ProjectName=autotest
&EnvType=odps
&ProjectId=12345
&Common request parameters

Sample success responses

XML format

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

<DeleteQualityEntityResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <Data>true</Data>
    <ErrorMessage>You have no permission.</ErrorMessage>
    <RequestId>ecb967ec-c137-48****</RequestId>
    <Success>true</Success>
    <ErrorCode>401</ErrorCode>
</DeleteQualityEntityResponse>

JSON format

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

{
  "HttpStatusCode" : 200,
  "Data" : true,
  "ErrorMessage" : "You have no permission.",
  "RequestId" : "ecb967ec-c137-48****",
  "Success" : true,
  "ErrorCode" : 401
}

Error codes

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