全部產品
Search
文件中心

:DsgScenedDeleteScene

更新時間:Jan 16, 2025

調用DsgScenedDeleteScene介面,刪除資料保護傘中已建立的二級脫敏情境。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

請求參數

名稱

類型

是否必選

樣本值

描述

Action String DsgScenedDeleteScene

系統規定參數。取值:DsgScenedDeleteScene

Ids Array of Integer 123

二級脫敏情境的ID列表。您可調用DsgSceneQuerySceneListByName介面擷取。

返回資料

名稱

類型

樣本值

描述

Success Boolean true

調用是否成功。取值如下:

  • true:調用成功。
  • false:調用失敗。
ErrorCode String 1029030003

錯誤碼。

ErrorMessage String param error

錯誤資訊。

HttpStatusCode Integer 400

HTTP狀態代碼。

Data Boolean true

操作結果。取值如下:

  • true:操作成功。
  • false:操作失敗。
RequestId String 102400001

請求的ID。用於定位日誌,排查問題。

樣本

請求樣本

http(s)://[Endpoint]/?Action=DsgScenedDeleteScene
&ids=[123]
&公用請求參數

正常返回樣本

XML格式

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

<DsgScenedDeleteSceneResponse>
    <Success>true</Success>
    <ErrorCode>1029030003</ErrorCode>
    <ErrorMessage>param error</ErrorMessage>
    <HttpStatusCode>400</HttpStatusCode>
    <Data>true</Data>
    <RequestId>102400001</RequestId>
</DsgScenedDeleteSceneResponse>

JSON格式

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

{
  "Success" : true,
  "ErrorCode" : "1029030003",
  "ErrorMessage" : "param error",
  "HttpStatusCode" : 400,
  "Data" : true,
  "RequestId" : "102400001"
}

錯誤碼

HttpCode

錯誤碼

錯誤資訊

描述

400 DESENSSCENE.ID.ERROR The desensitization scenario ID does not match or does not exist with the tenant. 情境ID不存在或不屬於該租戶。
400 DESENSSCENE.IDLEVEL.ERROR The desensitization scenario is not a secondary scenario. 脫敏情境不是二級情境。
400 DESENSSCENE.PROJECT.ERROR The project space does not exist. 工作空間不存在。
400 DESENSSCENE.SIZE.ERROR The number of desens scene exceeds the limit. 脫敏情境數量超限。
400 DESENSSCENE.UESRGROUP.ERROR The user group ID does not match the tenant or does not exist. 使用者組ID不存在或不屬於該租戶。
400 PARAMS.ERROR param error. 參數錯誤。
403 PERMISSION.DENIED.ERROR Permission denied 許可權不足。
500 UNKNOWN.ERROR unknown error. 未知錯誤。

訪問錯誤中心查看更多錯誤碼。