Skip to main content

DisableStreamData

Disable stream data services for the current tenant.

Examples​

Basic usage:

octo-cli -c DisableStreamData

Options​

This command takes no options.

Notes​

Refused with HTTP 409 while archives of the tenant are still activated; the error names them. Disable them first with DisableArchive (data is kept) or remove them with DeleteArchive (rollups before their source archive) - like this command they act on the tenant of the active context (UseContext or --context <name>).

Disabling only switches the tenant flag off: the System.StreamData CK model, the archive definitions and the stored stream data stay and are usable again after EnableStreamData. Disabling Stream Data is a precondition for Delete and Detach of the tenant; Delete then drops the CrateDB tables of the tenant's archives, Detach keeps them.

Reversible with EnableStreamData.