Modify SCIM Patch
Use modify-scim-patch
to add operations to a SCIM patch in a modify request before it is submitted to the store adapter.
Description | Details |
---|---|
Applicable to |
SCIM requests with an action of modify |
Additional information |
The payload for this statement is either a JSON array or a JSON object. If the payload is an array, PingAuthorize treats it as a list of operations in the SCIM patch format to add to the end of the operations in the patch. For example, assume the modify has the following patch.
Also, assume the statement payload is as follows. [ {"op": "add", "path": "name.first", "value": "John"}, {"op": "remove": "path": "name.last"} ] Then the resulting request to the store adapter looks like this.
If the payload is an object, PingAuthorize interprets it as a set of new replace operations to add to the end of the operations in the patch. In these replace operations, the keys from the object become the paths to modify, and the values from the object become the values for those paths. For example, assume the modify has the following patch.
Also, assume the statement payload is as follows.
Then the resulting request to the store adapter looks like this.
|