[Bug] Undocumented DELETE endpoint for deleting Entilements
Describe the bug A clear and concise description of what the bug is.
DELETE Endpoint exists within Entitlement class and can be used using Beta collection however this infomation is not present in neither documentation nor in collection itself. Furthermore there is reference in the main Entitlements section to the documentation about deleting objects
Where it's clearly stated it's not possible to delete entitlement via api but it is.
🎉 Thanks for opening your first issue here! Be sure to follow the issue template, and welcome to the community! 🙌
Hi @kjakubiak,
Could you please explain a more about your issue. I was not able to find any delete endpoint.
Hi @anitarodia,
That's the point - generaly in documentation it states it is not possible to delete entitlement
But actualy I did deleted the entitlement from IDN that way
And I believe this is what is missing in the documentation that it can be done.
When I tried it, I got 405 Method not Allowed
Hi @anitarodia
I just get one entitlement
Now I execute DELETE method
And now when I try to get it again - I get not found
This is interesting. I tried the same as you with the Beta endpoint but I always got 405.
Allow Header is the response :
This are the headers I have when executing DELETE
don't even have allow - might it be something specific to my environment? I am testing this on my partner instance
I think so, I will also test this on other instances.
Hi @anitarodia, Any news?
Hi @kjakubiak,
Yes, I did tried it with other tenants but I got 405 Method Not Allowed for each.
This issue has been mentioned on SailPoint Developer Community Forum. There might be relevant details there:
https://developer.sailpoint.com/discuss/t/delete-stucked-entitlement/23146/2