[midPoint] REST Operation without Reconcile

Kamil Jires kamil.jires at evolveum.com
Thu Nov 3 14:57:59 CET 2022


Hi Patrik,

  changing password without reconciliation mean that the password will 
be changed only in midPoint repository and not on the resource. In case 
this is what you want try to check raw mode (?options=raw).

For more information about REST see the docs page.

https://docs.evolveum.com/midpoint/reference/interfaces/rest/#supported-operations

BR,

  Kamil

On 20/10/2022 09:19, Patrik Sidler via midPoint wrote:
>
> Dear All
>
> We are updating the password of a midpoint user over REST API.
>
> The user has several projections that are updated manually when needed.
>
> Now we have the problem, that a password change over REST executes a 
> Reconcile when it is finished and because of this reconcile and all 
> the projections other attributes are also changed.
>
> We only would like to change the password, nothing else and this is 
> only possible when we are able to disable the reconcile after the REST 
> password change.
>
> *We execute the following POST Operation to change the password:*
>
> URL : {{ midpointurl 
> }}/users/08296d97-8ccb-4906-9d3e-1b3a1316b8fe?*reconcile=false*
>
> *Body :*
>
> <objectModification
>
> xmlns='http://midpoint.evolveum.com/xml/ns/public/common/api-types-3'
>
> xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
>
>       xmlns:t='http://prism.evolveum.com/xml/ns/public/types-3'>
>
> <t:itemDelta>
>
> <t:modificationType>replace</t:modificationType>
>
> <t:path>credentials/password/value</t:path>
>
> <t:value>Soleil12hg3336544*</t:value>
>
> </t:itemDelta>
>
> </objectModification>
>
> But at the end, the Reconcile gets executed, this means 
> ?*reconcile=false*in the POST Action does not work.
>
> How can we change the password over REST without executing a Reconcile 
> at the end.
>
> Thank you all in advance for your help.
>
> Regards
>
> Patrik Sidler
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20221103/6732f07d/attachment.htm>


More information about the midPoint mailing list