You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli/sandbox.md
+148-2Lines changed: 148 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -604,6 +604,79 @@ If detailed usage data is present (granular history, profiles, etc.), the comman
604
604
605
605
---
606
606
607
+
## b2c sandbox settings
608
+
609
+
Show effective OCAPI and WebDAV settings for a specific sandbox.
610
+
611
+
### Usage
612
+
613
+
```bash
614
+
b2c sandbox settings <SANDBOXID>
615
+
```
616
+
617
+
### Arguments
618
+
619
+
| Argument | Description | Required |
620
+
|----------|-------------|----------|
621
+
|`SANDBOXID`| Sandbox ID (UUID or realm-instance, e.g., `zzzv-123`) | Yes |
622
+
623
+
### Examples
624
+
625
+
```bash
626
+
# Show settings summary for a sandbox
627
+
b2c sandbox settings zzzz-001
628
+
629
+
# Output full settings payload as JSON
630
+
b2c sandbox settings zzzz-001 --json
631
+
```
632
+
633
+
### Output
634
+
635
+
When not using `--json`, the command prints:
636
+
637
+
- Number of OCAPI client entries
638
+
- Number of WebDAV client entries
639
+
- A short per-client breakdown for each settings type
640
+
641
+
---
642
+
643
+
## b2c sandbox storage
644
+
645
+
Show filesystem storage usage for a specific sandbox.
646
+
647
+
### Usage
648
+
649
+
```bash
650
+
b2c sandbox storage <SANDBOXID>
651
+
```
652
+
653
+
### Arguments
654
+
655
+
| Argument | Description | Required |
656
+
|----------|-------------|----------|
657
+
|`SANDBOXID`| Sandbox ID (UUID or realm-instance, e.g., `zzzv-123`) | Yes |
658
+
659
+
### Examples
660
+
661
+
```bash
662
+
# Show storage table for a sandbox
663
+
b2c sandbox storage zzzz-001
664
+
665
+
# Output raw storage response as JSON
666
+
b2c sandbox storage zzzz-001 --json
667
+
```
668
+
669
+
### Output
670
+
671
+
When not using `--json`, the command prints a table with one row per filesystem:
672
+
673
+
- Filesystem name
674
+
- Total space (MB)
675
+
- Used space (MB)
676
+
- Used percentage
677
+
678
+
---
679
+
607
680
## Sandbox Aliases
608
681
609
682
Sandbox aliases let you access a sandbox via a custom hostname instead of the default instance hostname.
@@ -968,9 +1041,11 @@ For the complete response including all metadata, use the `--json` flag.
968
1041
Realm commands operate at the **realm** level rather than on an individual sandbox. They are available as both `realm` topic commands and as `sandbox realm` subcommands:
|`REALM`|Specific realm ID (four-letter ID) to get details for| No |
1068
+
|`REALM`|Optional realm ID filter (four-letter ID) | No |
994
1069
995
1070
#### Examples
996
1071
@@ -1005,7 +1080,35 @@ b2c realm list zzzz
1005
1080
b2c realm list --json
1006
1081
```
1007
1082
1008
-
When `REALM` is omitted, the command discovers realms from the `/me` endpoint and then fetches configuration for each.
1083
+
When `REALM` is omitted, the command discovers realms from the `/me` endpoint.
1084
+
1085
+
### b2c realm configuration
1086
+
1087
+
Get sandbox configuration for a specific realm.
1088
+
1089
+
#### Usage
1090
+
1091
+
```bash
1092
+
b2c realm configuration <REALM>
1093
+
```
1094
+
1095
+
#### Arguments
1096
+
1097
+
| Argument | Description | Required |
1098
+
|----------|-------------|----------|
1099
+
|`REALM`| Realm ID (four-letter ID) | Yes |
1100
+
1101
+
#### Examples
1102
+
1103
+
```bash
1104
+
# Get realm sandbox configuration
1105
+
b2c realm configuration zzzz
1106
+
1107
+
# JSON output
1108
+
b2c realm configuration zzzz --json
1109
+
```
1110
+
1111
+
When not using `--json`, the command prints configuration details such as emails, sandbox limits, TTL values, and start/stop schedulers.
1009
1112
1010
1113
### b2c realm get
1011
1114
@@ -1143,3 +1246,46 @@ When not using `--json`, the command prints a summary including:
1143
1246
1144
1247
If detailed usage is available, it prints a hint to re-run with `--json` for the full structure. If no usage data is returned for the requested period, it prints a friendly message instead of failing.
1145
1248
1249
+
### b2c realm usages
1250
+
1251
+
Show usage information for multiple realms in one request.
1252
+
1253
+
#### Usage
1254
+
1255
+
```bash
1256
+
b2c realm usages [FLAGS]
1257
+
```
1258
+
1259
+
#### Flags
1260
+
1261
+
| Flag | Description |
1262
+
|------|-------------|
1263
+
|`--realm`| Realm IDs to include (repeat flag or provide comma-separated values) |
1264
+
|`--from`| Earliest date to include in usage (ISO 8601) |
1265
+
|`--to`| Latest date to include in usage (ISO 8601) |
1266
+
|`--detailed-report`| Include detailed usage information in the response |
1267
+
1268
+
If `--realm` is omitted, the command auto-discovers realms from `/me` and queries usage for all discovered realms.
1269
+
1270
+
#### Examples
1271
+
1272
+
```bash
1273
+
# Usage for all realms available to the current user
0 commit comments