Skip to main content

AccessRequest

Properties

NameTypeDescriptionNotes
requested_for[]strA list of Identity IDs for whom the Access is requested. If it's a Revoke request, there can only be one Identity ID.[required]
request_typeAccessRequestType[optional]
requested_items[]AccessRequestItem[required]
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.[optional]
}

Example

from sailpoint.v2024.models.access_request import AccessRequest

access_request = AccessRequest(
requested_for=[
'2c918084660f45d6016617daa9210584'
],
request_type='GRANT_ACCESS',
requested_items=[
sailpoint.v2024.models.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', )
],
client_metadata={requestedAppId=2c91808f7892918f0178b78da4a305a1, requestedAppName=test-app}
)

[Back to top]