Help Center> RES> API Reference> APIs (Old Version)> Platform Resource APIs> Unbinding the Dependent Resources

Unbinding the Dependent Resources

Function

This API is used to unbind the dependent resources.

URI

DELETE /v1/{project_id}/resources/{id}

Table 1 describes the URI parameters.
Table 1 URI parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which is used for resource isolation. For details about how to obtain the project ID, see Obtaining a Project ID.

id

Yes

String

Resource ID

Request

N/A

Response

Table 2 describes the response parameters.
Table 2 Response parameters

Parameter

Mandatory

Type

Description

is_success

Yes

Boolean

Whether the request is successful

message

Yes

String

Response message

Example

  • Example of a successful response
    {
        "is_success": true,
        "message": "Succeed to delete resource rely."
    }
  • Example of a failed response
    {
        "is_success": false,
        "error_code": "res.3301",
        "error_msg": "Resource is not found."
    }

Status Code

For details about status codes, see Status Codes.