ACS API call fails with "invalid arguments: authprovider ID must be set"
Issue
-
When accessing the Red Hat Advanced Cluster Security (RHACS) API, the query to delete a resource fails with the error message "invalid arguments: authprovider ID must be set in {}":
$ curl -k [..] -X DELETE https://<central>/v1/groups \ -H 'Content-Type: application/json' \ -d '{"id": "io.stackrox.authz.group.903b9eb1-ee8c-43ba-b772-9c83c44d3821", "authProviderId": "24d8c38c-c124-4838-9f32-b25cd9f6fa1d" }' {"error":"invalid arguments: authprovider ID must be set in {}","code":3,"message":"invalid arguments: authprovider ID must be set in {}","details":[]}
Environment
- Red Hat Advanced Cluster Security for Kubernetes (RHACS) 3.71
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.