Help Center> ServiceStage> API Reference> Application Management APIs> Components> Deleting an Application Component Based on the Component ID

Deleting an Application Component Based on the Component ID

Function

This API is used to delete an application component based on the component ID.

URI

DELETE /v2/{project_id}/cas/applications/{application_id}/components/{component_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.

Table 2 Query parameters

Parameter

Type

Mandatory

Description

force

Boolean

No

Whether to forcibly delete the application component.

Request Parameters

Request parameters

None

Response Parameters

Response parameters

None

Example

Example request

None

Example response

None

Status Code

Table 3 Status codes

HTTP Status Code

Description

204

OK

400

Bad Request

404

Not Found

500

Internal Server Error

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