I’m trying to remove a member from a group using the Okta Groups API but it returns an E0000022 error code. I’m using the Postman collection downloaded from the site. Also I can successfully get the list a users in a group just the delete part does not work. Below is a curl command of what I’m trying and the response.
curl --location --request DELETE ‘.okta.com/api/v1/groups//users/***********’
–header ‘Authorization: SSWS *******************’
Response
{
“errorCode”: “E0000022”,
“errorSummary”: “The endpoint does not support the provided HTTP method”,
“errorLink”: “E0000022”,
“errorId”: “oaeW4Fhqh0ERuuSFTXpBqTMAg”,
“errorCauses”:
}