Updated on 2022-08-15 GMT+08:00

Deleting an Application Component Instance

Function

This API is used to delete an application component instance.

URI

DELETE /v2/{project_id}/cas/applications/{application_id}/components/{component_id}/instances/{instance_id}

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Tenant's project ID.

application_id

String

Yes

Application ID.

component_id

String

Yes

Component ID.

instance_id

String

Yes

Component instance ID.

Table 2 Query parameters

Parameter

Type

Mandatory

Description

force

boolean

No

Whether to forcibly delete the application component.

Request

None

Response

Table 3 Response parameters

Parameter

Type

Description

job_id

String

Job ID

Example

Example request

None

Example response

{
    "job_id": "JOB66761060-f209-407c-a093-4df6f531b9dc"
   }

Status Code

Table 4 Status codes

Status Code

Description

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Code

Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.