Revoke a Role from Users in Batch
Takes a role away from several people at once, naming them in the body.
It is a POST rather than a DELETE because the people travel in a request body; DELETE /v1/roles/{id}/users/{userId} does the same for exactly one.
Only the DIRECT grant is revoked. Somebody who also holds this role through a group keeps it, and the call still answers 204 — if the intent is to remove their access entirely, take them out of the group too. Revoking from somebody who does not hold the role is not an error. On success the response has no body (204).
Failures:
400—usersis missing or empty.404— no such role in your organization.503 IDE-0066— the identity provider is unavailable (unreachable, too slow to answer, or failing). Nothing about the request was wrong; retry it later.
POST
Revoke a Role from Users in Batch

