Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/AccessRequest.md
2025-02-20 12:59:19 -05:00

1.8 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-access-request AccessRequest AccessRequest AccessRequest pythonsdk
python
Python
sdk
AccessRequest
V2024AccessRequest
/tools/sdk/python/v2024/models/access-request
SDK
Software Development Kit
AccessRequest
V2024AccessRequest

AccessRequest

Properties

Name Type Description Notes
requested_for []str A 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_type AccessRequestType [optional]
requested_items []AccessRequestItem [required]
client_metadata map[string]str Arbitrary 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]