Skip to content

chainabit twin policies ​

Published (2.2.0) ​

This command is not included in Published (2.2.0). It is available in Development (2.2.0).

Development (2.2.0) ​

Show your Twin settings for this workspace

Synopsis ​

text
chainabit twin policies [options]

Options ​

OptionDescriptionDefault
--workspace <id>Workspace ID—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Shows your Twin settings for one workspace. The workspace is the one you pass with --workspace, or the workspace you selected; if neither exists, the command stops and asks you to select a workspace or pass --workspace. When no Twin policy is set for the workspace, the command says so. The command only reads.

Output ​

Prints the workspace policy and the behavior settings. With --json, the output contains twin_id and policy_config (including observationEnabled).

Authentication and permissions ​

You must be signed in. The command only reads; if the server refuses, it prints the error and exits with a non-zero code. If the connected API does not support the operation yet, the command stops before sending anything.

Examples ​

bash
chainabit twin policies --workspace 00000000-0000-4000-8000-000000000001
chainabit twin policies

Built with purpose. chainabit.com