• Resource Template Service

rts
  1. Help Center
  2. Resource Template Service
  3. API Reference
  4. APIs
  5. Software Configuration Management
  6. Deleting a Deployment

Deleting a Deployment

Function Description

This interface is used to delete the deployment resource.

URI

DELETE /v1/{project_id}/software_deployments/{deployment_id}

Table 1 lists the parameters.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Specifies the project ID.

deployment_id

String

Yes

Specifies the UUID of the deployment.

Request Parameters

N/A

Response Parameters

This request does not return anything in the response body.

Request Example

DELETE /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/80p72409093a9005bb7a6698c85a1b61

Response Example

None

Return Code

Success Code

Type

Description

204

No Content

The server has fulfilled the request by deleting the resource.

Error Code

Type

Description

400

Bad Request

The server failed to process the request.

401

Unauthorized

Authorization failed.

404

Not Found

The requested resource could not be found.

500

Internal Server Error

Something went wrong inside the service. This should not happen usually. If it does happen, it means the server has experienced some serious problems.