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

Viewer Shutdown

Disconnects a specific viewer session.

Request

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

Path Parameters

ParameterTypeRequiredDescription
viewerIdstringYesUnique identifier of the viewer session
Request With Parameters
Code iconbash
curl -X DELETE "{BASE_URL}/api/viewers/{viewerId}" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

ParameterTypeDescription
messagestringResponse status message
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "meta": {
    "executionTime": 5,
    "generatedAt": 1771940077110
  },
  "message": "Viewer has been disconnected"
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
Viewer Not Found (404)
Code iconjson
{
  "message": "Connection not found"
}
Error Response
Code iconjson
{
  "message": "Error message"
}
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.