DELETE /api/versions/{version_name}

Path parameters

  • version_name string Required

Responses

  • 200 application/json

    Successful Response

    Hide response attribute Show response attribute object
    • name string Required
  • 503 application/json

    Database connection error

    Hide response attribute Show response attribute object
    • detail string

      Default value is Can't connect to MySQL server on '[SERVER]'.

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
DELETE /api/versions/{version_name}
curl \
 -X DELETE https://lztup.toil.cc/api/versions/{version_name}
Response examples (200)
{
  "name": "string"
}
Response examples (503)
{
  "detail": "Can't connect to MySQL server on '[SERVER]'"
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}