Delete Resource


Delete resources.

Request Format


POST https://{apigw-address}/app-portal-service/v2.3/resource/delete

Request Parameters (Query)


Name

Mandatory/Optional

Data Type

Description

orgId

Mandatory

String

OU ID.

Request Parameters (Body)


Name

Mandatory/Optional

Data Type

Description

ids

Mandatory

String

The IDs of resources to be deleted.

Response Parameters


Name

Data Type

Description

data

Data Struct

The results of deleting resources.

Data Struct


Name

Data Type

Description

success

Boolean

The results of deleting resources. true for success, and false for failure.

Error Codes


Error Code

Description

31400

Required parameters are missing.

31404

Resources do not exist, or the OU does not acquire the application.

Samples

Request Sample


url: /app-portal-service/v2.3/resource/delete?orgId=your_org_ID

method: POST

{
  "codes": ["your_resource_id_1", "your_resource_id_2"]
}

Return Sample


{
  "code": 0,
  "message": "",
  "data": {
    "success":true
  }
}