Files
nginx-proxy-manager/backend/schema/paths/nginx/proxy-hosts/hostID/disable/post.json

61 lines
983 B
JSON

{
"operationId": "disableProxyHost",
"summary": "Disable a Proxy Host",
"tags": ["proxy-hosts"],
"security": [
{
"bearerAuth": ["proxy_hosts.manage"]
}
],
"parameters": [
{
"in": "path",
"name": "hostID",
"description": "The ID of the Proxy Host",
"schema": {
"type": "integer",
"minimum": 1
},
"required": true,
"example": 2
}
],
"responses": {
"200": {
"description": "200 response",
"content": {
"application/json": {
"examples": {
"default": {
"value": true
}
},
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "400 response",
"content": {
"application/json": {
"examples": {
"default": {
"value": {
"error": {
"code": 400,
"message": "Host is already disabled"
}
}
}
},
"schema": {
"$ref": "../../../../../components/error.json"
}
}
}
}
}
}