Skip to main content

ApprovalRequestedTarget

Properties​

NameTypeDescriptionNotes
IdStringTarget ID (for example a role ID or access profile ID).[optional]
Ids[]StringTarget IDs when the approval request applies to multiple targets.[optional]
NameStringTarget name (for example a role name or access profile name).[optional]
Names[]StringTarget names when the approval request applies to multiple targets.[optional]
TargetTypeStringTarget type (for example Role or Access Profile).[optional]
TargetTypes[]StringTarget types when the approval request applies to multiple targets.[optional]
DescriptionStringOptional description for the requested target.[optional]
EpLevelAtCreationEnum [ "HIGH", "MEDIUM", "LOW", "NONE" ]Effective privilege (EP) level at approval creation.[optional]
CurrentEPLevelEnum [ "HIGH", "MEDIUM", "LOW", "NONE" ]Current effective privilege (EP) level for the requested target.[optional]
CurrentEPModifiedDateSystem.DateTimeDate and time when the current effective privilege level was last modified.[optional]
RequestTypeStringAccess request type (for example GRANT_ACCESS or REVOKE_ACCESS).[optional]
ForcedAuthSignatureStringSignature required for forced authentication.[optional]
ReauthRequiredBooleanIndicates whether forced reauthentication is required upon approval.[optional] [default to $false]
StartDateSystem.DateTimeWhen temporary access will be granted, if applicable.[optional]
RemovalDateSystem.DateTimeWhen temporary access will be removed, if applicable.[optional]
ModifiedStartDateSystem.DateTimeUpdated start date when startDate is edited during the approval request.[optional]
ModifiedRemovalDateSystem.DateTimeUpdated removal date when removalDate is edited during the approval request.[optional]

Examples​

  • Prepare the resource
$ApprovalRequestedTarget = Initialize-ApprovalRequestedTarget -Id string `
-Ids ["2c9180835d191a86015d28455b4a2329"] `
-Name string `
-Names ["Engineering Role"] `
-TargetType string `
-TargetTypes ["ROLE","ACCESS_PROFILE"] `
-Description string `
-EpLevelAtCreation HIGH `
-CurrentEPLevel HIGH `
-CurrentEPModifiedDate 2025-07-07T18:10:13.687Z `
-RequestType GRANT_ACCESS `
-ForcedAuthSignature string `
-ReauthRequired true `
-StartDate 2025-07-07T18:10:13.687Z `
-RemovalDate 2025-07-07T18:10:13.687Z `
-ModifiedStartDate 2025-07-07T18:10:13.687Z `
-ModifiedRemovalDate 2025-07-07T18:10:13.687Z
  • Convert the resource to JSON
$ApprovalRequestedTarget | ConvertTo-JSON

[Back to top]