I am trying to set up a process that after approving (with event trigger) will set a revocation date or time in the future for the access. The API docs state that for the Revoke Access action, if you specify a removeDate, it will remove the access at the date and time. Seems that regardless of the removeDate I specify, it immediately removes the access. I have tried a few minutes in advance to over 24 hours in advance (since taking note of the 24 hour SLA for deprovisioning). I have tried on both the V3 & beta endpoints. Any ideas?
Thank you,
Caleb
Here is my call:
{
"requestedFor": [
"2c9180858222dd1e01822b2678101abb"
],
"requestType": "REVOKE_ACCESS",
"requestedItems": [
{
"type": "ACCESS_PROFILE",
"id": "617d4718e6524e6aab5c2832c3d7ffe0",
"removeDate": "2022-09-03T23:40:00.000Z",
"comment": "access has expired"
}
]
}