[keycloak-user] REST DELETE should not accept body?

Matthew Broadhead matthew.broadhead at nbmlaw.co.uk
Mon Dec 11 13:41:35 EST 2017


i am using apache cxf webclient to access keycloak REST api.

it cannot send a body using delete.  i am trying to delete a realm role 
mapping
DELETE /admin/realms/{realm}/users/{id}/role-mappings/realm

Then I read this stackoverflow that says DELETE is not allowed to send body
https://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request

Please advise...


More information about the keycloak-user mailing list