This is the multi-page printable view of this section. Click here to print.
ListTargetsForPolicy
1 - 1.2
scpcli organization policy target list
--target_type <value>
--policy_id <value>
[--organization_id <value>]
[--size <value>]
[--page <value>]
[--sort <value>]
[--policy_category <value>]
[--name <value>]
Description
list targets for policy
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.2 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| target_type required | **** | Target Type | OU |
| policy_id required | string | Control Policy ID | f98e76d54c32b10a9z8y7x6w5v4u3 |
| organization_id optional | string | Organization ID | o-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5 |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| policy_category optional | **** | Policy Category | SCP |
| name optional | string | Target Name | example-target |
Responses
| Name | Description | Example |
|---|---|---|
| id | ID | 0a36e0746dbf4908acf0357829701381 |
| control_policies | Control Policy ID List | |
| created_at | Created At | 2025-01-01T00:00:00.000Z |
| created_by | Created By | c23fb561c689455993874fa5d5ed4a2f |
| modified_at | Modified At | 2025-01-01T00:00:00.000Z |
| modified_by | Modified By | c23fb561c689455993874fa5d5ed4a2f |
| target_name | Target Name | example-target |
2 - 1.1
scpcli organization policy target list
--target_type <value>
--policy_id <value>
[--organization_id <value>]
[--size <value>]
[--page <value>]
[--sort <value>]
[--policy_category <value>]
[--name <value>]
Description
list targets for policy
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.1 | 20260531 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| target_type required | **** | Target Type | OU |
| policy_id required | string | Control Policy ID | f98e76d54c32b10a9z8y7x6w5v4u3 |
| organization_id optional | string | Organization ID | o-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5 |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| policy_category optional | **** | Policy Category | SCP |
| name optional | string | Target Name | example-target |
Responses
| Name | Description | Example |
|---|---|---|
| id | ID | 0a36e0746dbf4908acf0357829701381 |
| control_policies | Control Policy ID List | |
| created_at | Created At | 2025-01-01T00:00:00.000Z |
| created_by | Created By | c23fb561c689455993874fa5d5ed4a2f |
| modified_at | Modified At | 2025-01-01T00:00:00.000Z |
| modified_by | Modified By | c23fb561c689455993874fa5d5ed4a2f |
| target_name | Target Name | example-target |
3 - 1.0
scpcli organization policy target list
--target_type <value>
--policy_id <value>
[--organization_id <value>]
[--size <value>]
[--page <value>]
[--sort <value>]
[--policy_category <value>]
[--name <value>]
Description
list targets for policy
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| target_type required | **** | Target Type | OU |
| policy_id required | string | Control Policy ID | f98e76d54c32b10a9z8y7x6w5v4u3 |
| organization_id optional | string | Organization ID | o-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5 |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| policy_category optional | **** | Policy Category | SCP |
| name optional | string | Target Name | example-target |
Responses
| Name | Description | Example |
|---|---|---|
| id | ID | 0a36e0746dbf4908acf0357829701381 |
| control_policies | Control Policy ID List | |
| created_at | Created At | 2025-01-01T00:00:00.000Z |
| created_by | Created By | c23fb561c689455993874fa5d5ed4a2f |
| modified_at | Modified At | 2025-01-01T00:00:00.000Z |
| modified_by | Modified By | c23fb561c689455993874fa5d5ed4a2f |
| target_name | Target Name | example-target |