Last modified 13 Mar 2024 13:32 +01:00

.Notify password change on resource

curl --user administrator:y0uR_P455woR*d \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST http://localhost:8080/midpoint/ws/rest/notifyChange \
-v \
--data-binary @./samples/rest/notify-change-modify-password.json
Show data source example for "Notify password change on resource" | GitHub
{
	"resourceObjectShadowChangeDescription": {
		"oldShadowOid": "062ac29f-f296-4824-aeab-9a0feb9e8bd3",
		"objectDelta": {
			"@ns": "http://prism.evolveum.com/xml/ns/public/types-3",
			"oid": "062ac29f-f296-4824-aeab-9a0feb9e8bd3",
			"changeType": "modify",
			"objectType": "ShadowType",
			"itemDelta": {
				"modificationType": "replace",
				"path": "credentials/password/value",
				"value": "y0uR_P455woR*d"
			}
		}
	}
}

The response is an HTTP 200 code in case of success with an empty response body.

Was this page helpful?
YES NO
Thanks for your feedback