We have a tool that shows all pending access profile request. I have a handful of access profiles from 2021. Apparently there are some access profiles that are pointing to a target that is a deleted identity.
I’ve attempted to cancel that access profile request using the following rest API.
{{api-url}}/beta/access-requests/cancel
body:
{
“accountActivityId”: “2c91808875954c49017600f49d0735f8”,
“comment”: “expired access profile”
}
The response I receive is
{
“detailCode”: “400.0 Bad request syntax”,
“trackingId”: “93a861e3caac4e33aa648fab7916c8bd”,
“messages”: [
{
“locale”: “en-US”,
“localeOrigin”: “DEFAULT”,
“text”: “The request could not be parsed.”
}
],
“causes”:
}