Storm docs logo
Search the docs.../
Explore Storm Products

Vhost Delete

Deletes a virtual host configuration.

Request

PropertyValue
MethodDELETE
URL/api/server/settings/vhosts/{vhostId}
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X DELETE "{BASE_URL}/api/server/settings/vhosts/{vhostId}" \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeRequiredDescription
vhostIdintegerYesUnique identifier of the VHost
Request With Parameters
Code iconbash
curl -X DELETE "{BASE_URL}/api/server/settings/vhosts/{vhostId}" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

VHost

ParameterTypeDescription
data.idintegerUnique identifier of the deleted VHost
data.attributes.host.valuestringHost binding
data.attributes.host.editablebooleanIndicates if the field can be modified
data.attributes.host.lockedBystringLocked by environment variable (if present)
data.attributes.port.valueintegerPort number
data.attributes.port.editablebooleanIndicates if the field can be modified
data.attributes.port.lockedBystringLocked by environment variable (if present)
data.attributes.protocols.valuestring[]Enabled protocols
data.attributes.protocols.editablebooleanIndicates if the field can be modified
data.attributes.protocols.lockedBystringLocked by environment variable (if present)
data.attributes.isSSL.valuebooleanSSL enabled
data.attributes.isSSL.editablebooleanIndicates if the field can be modified
data.attributes.isSSL.lockedBystringLocked by environment variable (if present)
data.attributes.certificatePath.valuestringPath to SSL certificate
data.attributes.certificatePath.editablebooleanIndicates if the field can be modified
data.attributes.certificatePath.lockedBystringLocked by environment variable (if present)
data.attributes.certificatePassword.valuestringSSL certificate password (masked)
data.attributes.certificatePassword.maskedbooleanIndicates if the value is masked
data.attributes.isControlPanel.valuebooleanControl panel endpoint
data.attributes.isControlPanel.editablebooleanIndicates if the field can be modified
data.attributes.isControlPanel.lockedBystringLocked by environment variable (if present)
messagestringResponse status message

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "id": 3,
    "attributes": {
      "host": {
        "editable": true,
        "value": "127.0.0.1"
      },
      "port": {
        "editable": true,
        "value": 8093
      },
      "protocols": {
        "editable": true,
        "value": ["HTTP"]
      },
      "isSSL": {
        "editable": true,
        "value": true
      },
      "certificatePath": {
        "editable": true,
        "value": "/path/to/certificate.p12"
      },
      "certificatePassword": {
        "masked": true,
        "value": "p****d"
      },
      "isControlPanel": {
        "editable": true,
        "value": true
      }
    }
  },
  "meta": {
    "executionTime": 6,
    "generatedAt": 1764854027621
  },
  "message": "VHost has been removed"
}

Error Responses

ParameterTypeDescription
messagestringHuman-readable error message
VHost Not Found (404)
Code iconjson
{
  "message": "VHost not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.