Updated on 2022-09-15 GMT+08:00

Deleting Data Standards

Function

This API is used to delete data standards.

URI

DELETE /v2/{project_id}/design/standards

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

ids

Yes

Array of integers

ID list

del_types

No

String

Deletion types

Enumeration values:

  • PHYSICAL_TABLE

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

data

Object

Returned data

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DS.000 which indicates that the request was successfully processed.

error_msg

String

Error message

data

Object

Returned data

Status code: 401

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DS.000 which indicates that the request was successfully processed.

error_msg

String

Error message

data

Object

Returned data

Status code: 403

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DS.000 which indicates that the request was successfully processed.

error_msg

String

Error message

data

Object

Returned data

Status code: 404

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DS.000 which indicates that the request was successfully processed.

error_msg

String

Error message

data

Object

Returned data

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

The operation succeeds. The number of deleted data standards is returned. Note that the list of row IDs is passed, and that data standards rather than certain attributes are deleted.

400

BadRequest

401

Unauthorized

403

Forbidden

404

Not Found