Remove Variant
DELETE/variants/:variant_id
Remove a variant from the server. In the case it's the last variant using the image, stop the container and remove the image.
Arguments: app_variant -- AppVariant to remove
Raises: HTTPException: If there is a problem removing the app variant
Request
Path Parameters
variant_id Variant Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...