# Remove one Axis Data Hub subscription without stopping the others

> Retain each Axis Data Hub subscription ID and remove only the intended subscription. Verify that other required subscriptions continue in the same session.

- Canonical URL: https://update.dsesecurity.com/updates/remove-one-axis-data-hub-subscription-without-stopping-the-others/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-10-29T19:50:03+00:00
- Modified: 2026-10-29T19:50:07+00:00
- Last reviewed by DSE: 2026-10-29
- Resource type: Guide
- DSE priority: Advisory
- Topics: IT, Video Surveillance
- Reading time: 3 minutes

## What you need to know

Retain each Axis Data Hub subscription ID and remove only the intended subscription. Verify that other required subscriptions continue in the same session.

## Potentially affected

Axis products exposing the documented Device Data Hub WebSocket API interface; confirm actual device, hardware and software applicability before applying the proposed checks.

## DSE recommendation

DSE recommends keeping a subscription registry in the client and verifying retained subscriptions during an individual removal.

## Article

Bottom line: Retire a Data Hub subscription by its recorded identifier. Keep the remaining subscriptions explicit so removing one consumer’s data selection does not become an unexplained shutdown of the entire shared connection.

## Source fact: documented behavior

Axis’s [Device Data Hub WebSocket API](https://developer.axis.com/vapix/device-data-hub/websocket/) supports several subscriptions in one session, with separate filters and a distinct subscriptionId for each.

The documented unsubscribe operation removes the subscription named by its ID; the other subscriptions on that connection continue operating.

A topicSample notification identifies its subscription and topic and includes sample data and a timestamp.

## What the source does not establish

Do not infer missed-sample recovery or application-level continuity from this removal behavior. Keep a session-close or reconnect procedure separate from removing one subscription. Confirm the device’s interface support and the actual client’s subscription handling before sharing a connection between operational consumers.

## Applicability questions

- Which component owns each subscription identifier?

- Which topic and filter selection belongs to the subscription being retired?

- Which other subscriptions must remain on the same session?

- What permitted sample will demonstrate each retained consumer’s required data path?

## DSE recommendation: controlled next steps

The following steps are DSE recommendations based on the cited source.

DSE recommends keeping a subscription registry in the client and verifying retained subscriptions during an individual removal.

- List the intended consumers and assign each an identifiable subscription record in the integration. Preserve the ID returned or accepted by the documented workflow with its filter and owning component. Avoid choosing a removal target from a topic name alone when the design permits several filtered subscriptions. Record which consumers are deliberately unaffected by the requested retirement.

- Prepare a proposed pilot with two harmless supported topic selections and distinct subscription IDs. Label the selections as fixtures rather than actual site requirements. Establish each subscription through the supported interface and capture permitted sample observations before removal. Keep the connection and each subscription’s state as separate entries in the client’s diagnostic record.

- Remove only the selected ID and retain the operation outcome. Check the remaining subscription with an appropriate approved input and reconcile its sample identifier with the registry. If the client closes the session or loses another required subscription, treat that as an integration result to investigate. Restore the approved arrangement before expanding the change to operational consumers.

## Verification and evidence

Retain the session identity, sanitized subscription definitions, selected removal ID, response and before-and-after sample observations. Have another reviewer match each observed sample to its intended subscription. Exclude credentials and unnecessary payload content from shared diagnostic records.

For the proposed exercise, include a client-side selection review in which the wrong ID belongs to the consumer that must remain. Require the operator to reject that removal before sending it. Record actual results after execution; this article does not report a completed subscription test or guarantee that an application received every sample.

## Official references

- [Device Data Hub WebSocket API](https://developer.axis.com/vapix/device-data-hub/websocket/) — Axis Communications; official VAPIX documentation.

Source review completed October 29, 2026. Recheck the official documentation and the deployed device’s capabilities before changing production settings.

## Primary reference

- Name: Axis Communications — Device Data Hub WebSocket API
- Authority: Axis Communications
- URL: https://developer.axis.com/vapix/device-data-hub/websocket/
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Remove one Axis Data Hub subscription without stopping the others,” DSE Security, https://update.dsesecurity.com/updates/remove-one-axis-data-hub-subscription-without-stopping-the-others/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
