Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Undocumented DELETE endpoint for deleting Entilements #430

Open
kjakubiak opened this issue Nov 26, 2023 · 11 comments
Open

[Bug] Undocumented DELETE endpoint for deleting Entilements #430

kjakubiak opened this issue Nov 26, 2023 · 11 comments

Comments

@kjakubiak
Copy link
Contributor

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
image

Where it's clearly stated it's not possible to delete entitlement via api but it is.
image

@codey-bot
Copy link

codey-bot bot commented Nov 26, 2023

🎉 Thanks for opening your first issue here! Be sure to follow the issue template, and welcome to the community! 🙌

@anitarodia
Copy link
Contributor

Hi @kjakubiak,

Could you please explain a more about your issue. I was not able to find any delete endpoint.

@kjakubiak
Copy link
Contributor Author

Hi @anitarodia,
That's the point - generaly in documentation it states it is not possible to delete entitlement
image

But actualy I did deleted the entitlement from IDN that way
image

And I believe this is what is missing in the documentation that it can be done.

@anitarodia
Copy link
Contributor

When I tried it, I got 405 Method not Allowed
image

@kjakubiak
Copy link
Contributor Author

Hi @anitarodia
I just get one entitlement
image

Now I execute DELETE method
image

And now when I try to get it again - I get not found
image

@anitarodia
Copy link
Contributor

This is interesting. I tried the same as you with the Beta endpoint but I always got 405.

image
image

Allow Header is the response :
image

@kjakubiak
Copy link
Contributor Author

This are the headers I have when executing DELETE
image
don't even have allow - might it be something specific to my environment? I am testing this on my partner instance

@anitarodia
Copy link
Contributor

anitarodia commented Dec 1, 2023

I think so, I will also test this on other instances.

@kjakubiak
Copy link
Contributor Author

Hi @anitarodia,
Any news?

@anitarodia
Copy link
Contributor

Hi @kjakubiak,

Yes, I did tried it with other tenants but I got 405 Method Not Allowed for each.

@jordan-violet-sp
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants