-
Notifications
You must be signed in to change notification settings - Fork 34
Destroy environment or container
Alex O. Karasulu edited this page Mar 9, 2018
·
2 revisions
swagger: '2.0'
info:
title: Console API
description: Subutai Console API
version: "1.0.0"
host: localhost:9999
schemes:
- https
basePath: /rest/v1/environments
paths:
/{env-id}:
delete:
summary: Destroy environment
description:
The endpoint allows to destroy environment
tags:
- Environment
parameters:
- name: env-id
in: path
description: id of environment
required: true
type: string
responses:
202:
description: Http ACCEPTED status is returned in case environment destruction started successfully
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
/containers/{cont-id}:
delete:
summary: Destroy container
description:
The endpoint allows to destroy container
tags:
- Environment
- Container
parameters:
- name: cont-id
in: path
description: id of container
required: true
type: string
responses:
202:
description: Http ACCEPTED status is returned in case container destruction started successfully
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
definitions:
Error:
type: object
properties:
error:
type: string
User Guides
Glossary
Components
How it works
Configure domain for environment
Create Templates from CLI
Create Templates from Console
Environment management via Bazaar and Console
EZ Desktop solution for Subutai containers
[Linux] Adding domain name to etc hosts
[Windows] Adding domain name to etc hosts