The PUT /directory/v1/{dn} endpoint modifies the entry specified by its distinguished name. Attribute values specified in the request body are updated; existing attributes omitted from the request maintain their current values. Attribute values set to null in the request body are removed from the entry.

Attributes designated for update are replaced entirely. You cannot partially modify an attribute. In addition, PUT operates exclusively on top-level attributes of the entity. If you wish to edit an attribute value within a JSON entity, you must replace the entire entity. Providing a null value for an attribute within a JSON entity removes the entity.

To update the DN of an entry, see Rename or move an entry.