Skip to main content

AccessRequestItem

Properties

NameTypeDescriptionNotes
typeEnum [ 'ACCESS_PROFILE', 'ROLE', 'ENTITLEMENT' ]The type of the item being requested.[required]
idstrID of Role, Access Profile or Entitlement being requested.[required]
commentstrComment provided by requester. * Comment is required when the request is of type Revoke Access.[optional]
client_metadatamap[string]strArbitrary 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]
remove_datedatetimeThe date the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date in the future. * The current SLA for the deprovisioning is 24 hours. * This date can be modified to either extend or decrease the duration of access item assignments for the specified identity. You can change the expiration date for requests for yourself or direct reports, but you cannot remove an expiration date on an already approved item. If the access request has not been approved, you can cancel it and submit a new one without the expiration. If it has already been approved, then you have to revoke the access and then re-request without the expiration.[optional]
}

Example

from sailpoint.v3.models.access_request_item import AccessRequestItem

access_request_item = AccessRequestItem(
type='ACCESS_PROFILE',
id='2c9180835d2e5168015d32f890ca1581',
comment='Requesting access profile for John Doe',
client_metadata={requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1},
remove_date='2020-07-11T21:23:15Z'
)

[Back to top]