• Resource Template Service

rts
  1. Help Center
  2. Resource Template Service
  3. API Reference
  4. APIs
  5. Stack Action Management
  6. Canceling Stack Creations or Updates Without a Rollback

Canceling Stack Creations or Updates Without a Rollback

Function

This API is used to cancel stack creations or updates without performing a rollback.

URI

POST /v1/{project_id}/stacks/{stack_name}/{stack_id}/actions

For details about the parameters, see Table 1.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

project_id

String

Yes

Specifies the project ID.

stack_name

String

Yes

Specifies the stack name.

stack_id

String

Yes

Specifies the stack UUID.

Request Parameter

Parameter

In

Type

Mandatory

Description

cancel_without_rollback

body

Object

Yes

Cancels stack creation or updates without performing a rollback.

Response Parameter

This operation does not return the response body.

Request Example

POST /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/actions
{
    "cancel_without_rollback": null
}

Response Example

None

Return Code

Table 2 Normal return code

Return Code

Type

Description

200

OK

Request was successful.

Table 3 Error return code

Return Code

Type

Description

400

Bad Request

The server failed to process the request.

401

Unauthorized

Authorization failed.

404

Not found

The requested resources are not found.