Delete stack
Method | URI | Description |
---|---|---|
DELETE | /v1/{tenant_id}/stacks/{stack_name}/{stack_id} | Deletes a specified stack. |
Normal response codes: 204
Error response codes: badRequest (400), unauthorized (401), notFound (404), internalServerError (500)
Request
This table shows the parameters for the delete stack request:
Parameter | Style | Type | Required | Description |
---|---|---|---|---|
tenant_id | URI | String | Yes | Project ID |
stack_name | URI | String | Yes | The name of a stack. |
stack_id | URI | String | Yes | The unique identifier for a stack. |
This operation does not accept a request body.
CAUTION:
When deleting a router that is connected to an external network using a customized role, the router will not be deleted - it will remain after deleting the stack. Disconnect the external network from the target router using an API after the stack is deleted, and then delete the router.