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/cli-orders.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ The `list` command supports filtering on a variety of fields:
84
84
*`--last-modified`: Filter on the order's last modified time or an interval of last modified times.
85
85
*`--hosting`: Filter on orders containing a hosting location (e.g. SentinelHub). Accepted values are `true` or `false`.
86
86
*`--destination-ref`: Filter on orders created with the provided destination reference.
87
+
*`--user-id`: Filter by user ID. Only available to organization admins. Accepts "all" or a specific user ID.
87
88
88
89
Datetime args (`--created-on` and `--last-modified`) can either be a date-time or an interval, open or closed. Date and time expressions adhere to RFC 3339. Open intervals are expressed using double-dots.
89
90
* A date-time: `2018-02-12T23:20:50Z`
@@ -120,6 +121,16 @@ To list orders with a name containing `xyz`:
120
121
planet orders list --name-contains xyz
121
122
```
122
123
124
+
To list orders for all users in your organization (organization admin only):
125
+
```sh
126
+
planet orders list --user-id all
127
+
```
128
+
129
+
To list orders for a specific user ID (organization admin only):
130
+
```sh
131
+
planet orders list --user-id 12345
132
+
```
133
+
123
134
#### Sorting
124
135
125
136
The `list` command also supports sorting the orders on one or more fields: `name`, `created_on`, `state`, and `last_modified`. The sort direction can be specified by appending ` ASC` or ` DESC` to the field name (default is ascending).
Copy file name to clipboardExpand all lines: docs/cli/cli-subscriptions.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,7 @@ The `list` command supports filtering on a variety of fields:
145
145
*`--status`: Filter on the status of the subscription. Status options include `running`, `cancelled`, `preparing`, `pending`, `completed`, `suspended`, and `failed`. Multiple status args are allowed.
146
146
*`--updated`: Filter on the subscription update time or an interval of updated times.
147
147
*`--destination-ref`: Filter on subscriptions created with the provided destination reference.
148
+
*`--user-id`: Filter by user ID. Only available to organization admins. Accepts "all" or a specific user ID.
148
149
149
150
Datetime args (`--created`, `end-time`, `--start-time`, and `--updated`) can either be a date-time or an interval, open or closed. Date and time expressions adhere to RFC 3339. Open intervals are expressed using double-dots.
150
151
* A date-time: `2018-02-12T23:20:50Z`
@@ -171,6 +172,16 @@ To list subscriptions with an end time after Jan 1, 2025:
171
172
planet subscriptions list --end-time 2025-01-01T00:00:00Z/..
172
173
```
173
174
175
+
To list subscriptions for all users in your organization (organization admin only):
176
+
```sh
177
+
planet subscriptions list --user-id all
178
+
```
179
+
180
+
To list subscriptions for a specific user ID (organization admin only):
0 commit comments