Help Center/ ServiceStage/ API Reference (Kuala Lumpur Region)/ Application Management APIs/ Component/ Deleting an Application Component Based on the Component ID
Updated on 2022-08-15 GMT+08:00

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

None

Response

None

Example

Example request

None

Example response

None

Status Code

Table 3 Status codes

Status Code

Description

204

OK

400

Bad Request

404

Not Found

409

Conflict

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.