All Products
Search
Document Center

:DeleteDataServiceApiAuthority

更新時間:May 08, 2024

Revokes the access permissions on an API.

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

DeleteDataServiceApiAuthority

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

TenantId

Long

No

10001

The tenant ID. This parameter is deprecated.

ProjectId

Long

Yes

10002

The workspace ID.

ApiId

Long

Yes

10003

The API ID.

AuthorizedProjectId

Long

Yes

10004

The ID of the workspace from which you want to revoke the access permissions on the API.

Response parameters

Parameter

Type

Example

Description

Success

Boolean

true

Indicates whether the request was successful.

RequestId

String

0000-ABCD-EF****

The request ID.

Examples

Sample requests

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

HTTP status code

Error code

Error message

Description

429

Throttling.Api

The request for this resource has exceeded your available limit.

The number of requests for the resource has exceeded the upper limit.

429

Throttling.System

The DataWorks system is busy. Try again later.

The DataWorks system is busy. Try again later.

429

Throttling.User

Your request is too frequent. Try again later.

Excessive requests have been submitted within a short period of time. Try again later.

500

InternalError.System

An internal system error occurred. Try again later.

An internal error has occurred. Try again later.

500

InternalError.UserId.Missing

An internal system error occurred. Try again later.

An internal error has occurred. Try again later.

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