<div dir="ltr"><div>Hi,<br><br>I created a JIRA issue for this problem..<br><br>For detailed description please check<br><a href="https://issues.jboss.org/browse/KEYCLOAK-2503">https://issues.jboss.org/browse/KEYCLOAK-2503</a><br><br></div><u>Basic description:</u><br><div class=""><div title="Click to edit" id="description-val" class="">
<div class="">
<p>I want to delete 2 (custom) attributes defined
via client representation in body parameter "attributes" via REST admin
command "Update the client" (PUT method).<br>
1.) customAttr_1 via not defining in JSON's request body<br>
2.) customAttr_2 via setting with value empty string ""<br><br>
Execution of Update The Client REST request performs successfully with status code 204 No Content.</p>
<p>Next I want to check the client representation via GET method.<br>
The response returns customAttr_1 and does not return customAttr_2.<br>
But If I want to re-create the deleted customAttr_2 (via UPDATE the client), I receive HTTP status code 409 Conflict. <br>Conclusion: <br>
1.) customAttr_1 not deleted<br>
2.) customAttr_2 not present in GET response, but still present in DB in table CLIENT_ATTRIBUTES with value Null.</p>
</div>
<span class=""></span></div>
</div><div><br></div><div>Best Regards,<br></div><div>Juraj<br></div></div>