This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

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)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
target_type
required
****Target TypeOU
policy_id
required
stringControl Policy IDf98e76d54c32b10a9z8y7x6w5v4u3
organization_id
optional
stringOrganization IDo-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
policy_category
optional
****Policy CategorySCP
name
optional
stringTarget Nameexample-target

Responses

NameDescriptionExample
idID0a36e0746dbf4908acf0357829701381
control_policiesControl Policy ID List
created_atCreated At2025-01-01T00:00:00.000Z
created_byCreated Byc23fb561c689455993874fa5d5ed4a2f
modified_atModified At2025-01-01T00:00:00.000Z
modified_byModified Byc23fb561c689455993874fa5d5ed4a2f
target_nameTarget Nameexample-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.

VersionNot Before
1.120260531

Parameters

NameTypeDescriptionExample
target_type
required
****Target TypeOU
policy_id
required
stringControl Policy IDf98e76d54c32b10a9z8y7x6w5v4u3
organization_id
optional
stringOrganization IDo-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
policy_category
optional
****Policy CategorySCP
name
optional
stringTarget Nameexample-target

Responses

NameDescriptionExample
idID0a36e0746dbf4908acf0357829701381
control_policiesControl Policy ID List
created_atCreated At2025-01-01T00:00:00.000Z
created_byCreated Byc23fb561c689455993874fa5d5ed4a2f
modified_atModified At2025-01-01T00:00:00.000Z
modified_byModified Byc23fb561c689455993874fa5d5ed4a2f
target_nameTarget Nameexample-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.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
target_type
required
****Target TypeOU
policy_id
required
stringControl Policy IDf98e76d54c32b10a9z8y7x6w5v4u3
organization_id
optional
stringOrganization IDo-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
policy_category
optional
****Policy CategorySCP
name
optional
stringTarget Nameexample-target

Responses

NameDescriptionExample
idID0a36e0746dbf4908acf0357829701381
control_policiesControl Policy ID List
created_atCreated At2025-01-01T00:00:00.000Z
created_byCreated Byc23fb561c689455993874fa5d5ed4a2f
modified_atModified At2025-01-01T00:00:00.000Z
modified_byModified Byc23fb561c689455993874fa5d5ed4a2f
target_nameTarget Nameexample-target