DeleteDataServiceApiAuthority - 取消数据服务 API 授权

更新时间:
复制 MD 格式

调用DeleteDataServiceApiAuthority取消数据服务API授权。

接口说明

支持 DataWorks 基础版及以上版本。

前置条件:已存在目标工作空间、已发布的数据服务 API 及其授权记录。可通过 ListProjects 获取 ProjectId,通过 ListDataServiceApis 获取 ApiId;AuthorizedProjectId 为被授权方工作空间 ID。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

TenantId

integer

否

该字段已废弃。租户的 ID。

10001

ProjectId

integer

是

工作空间的 ID。

10002

ApiId

integer

是

API 的 ID。

10003

AuthorizedProjectId

integer

是

被取消授权的工作空间 ID。

10004

返回参数

名称

类型

描述

示例值

object

Success

boolean

取消授权是否成功。

true

RequestId

string

请求 ID,一次请求的唯一标识。

0000-ABCD-EF****

示例

正常返回示例

JSON格式

{
  "Success": true,
  "RequestId": "0000-ABCD-EF****"
}

错误码

HTTP status code

错误码

错误信息

描述

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. 没有权限,请授权
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。