
User15976987613926449178 (Customer) asked a question.
Hello,
I'm trying to remove all the group in our okta preview.
I call the remove-oktagroup with the group id number and I get this:
Invoke-RestMethod: {"errorCode":"E0000022","errorSummary":"The endpoint does not support the provided HTTP
method","errorLink":"E0000022","errorId":"oaePMHBFLquTaq8KX8pRaPsbw","errorCauses":[]}
Any assistance would be appreciated. I really don't want to have to remove them one by one in the GUI.
Thanks
John

Hi, @User15976987613926449178 (Customer)
Thank you for posting on our Community page!
I have done some research and found this article that would assist your use case with the use of API:
Hope this helps!
Thank you for reaching out to our Community and have a great day!
_____________________________________________________________________________
The October issue of the Okta Community is here and packed with tips on certification, how to earn badges, and new releases. Let us help you stay connected.
_____________________________________________________________________________
If my answer helped, remember to select it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
_____________________________________________________________________________
Thank you, I got it working.
Hi John, were you able to remove all the groups from the app assignment at once? by not using group id one by one?
Thanks
John Eggleston-McGee
Can you let me know which solution helped you? did you try to remove using the Group id?
Let me explain my requirement, i have 100+ plus AD groups assigned to an application in a SAML application, i need to remove all at once and not by using a group id one by one. Is there any solution for this?