RequestedItemDtoRef
Properties
Name | Type | Description | Notes |
---|---|---|---|
Type | Enum [ "ACCESS_PROFILE", "ROLE", "ENTITLEMENT" ] | The type of the item being requested. | [required] |
Id | String | ID of Role, Access Profile or Entitlement being requested. | [required] |
Comment | String | Comment provided by requester. * Comment is required when the request is of type Revoke Access. | [optional] |
ClientMetadata | map[string]String | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status. | [optional] |
RemoveDate | System.DateTime | The date and time the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date-time in the future. * The current SLA for the deprovisioning is 24 hours. * This date-time can be used to change the duration of an existing access item assignment for the specified identity. A GRANT_ACCESS request can extend duration or even remove an expiration date, and either a GRANT_ACCESS or REVOKE_ACCESS request can reduce duration or add an expiration date where one has not previously been present. You can change the expiration date in requests for yourself or others you are authorized to request for. | [optional] |
AccountSelection | []SourceItemRef | The accounts where the access item will be provisioned to * Includes selections performed by the user in the event of multiple accounts existing on the same source * Also includes details for sources where user only has one account | [optional] |
Examples
- Prepare the resource
$RequestedItemDtoRef = Initialize-V2024RequestedItemDtoRef -Type ACCESS_PROFILE `
-Id 2c9180835d2e5168015d32f890ca1581 `
-Comment Requesting access profile for John Doe `
-ClientMetadata {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1} `
-RemoveDate 2020-07-11T21:23:15Z `
-AccountSelection null
- Convert the resource to JSON
$RequestedItemDtoRef | ConvertTo-JSON