Bulk updates object mappings
POST {{baseUrl}}/configuration-hub/object-mappings/:sourceOrg/bulk-patch
This updates a set of object mappings, only enabled and targetValue fields can be updated.
Source org should be default
when updating object mappings that are not associated to any particular org.
The request will need the following security scope:
- sp:config-object-mapping:manage
Request Body
{"patches"=>{"603b1a61-d03d-4ed1-864f-a508fbd1995d"=>[{"op"=>"replace", "path"=>"/enabled", "value"=>true}], "00bece34-f50d-4227-8878-76f620b5a971"=>[{"op"=>"replace", "path"=>"/targetValue", "value"=>"New Target Value"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"patchedObjects":[{"objectMappingId":"603b1a61-d03d-4ed1-864f-a508fbd1995d","objectType":"SOURCE","jsonPath":"$.name","sourceValue":"Original SOURCE Name","targetValue":"New SOURCE Name","enabled":true,"created":"2024-03-25T15:50:41.314Z","modified":"2024-03-25T15:50:41.299Z"},{"objectMappingId":"00bece34-f50d-4227-8878-76f620b5a971","objectType":"IDENTITY","jsonPath":"$.name","sourceValue":"Original IDENTITY Name","targetValue":"New IDENTITY Name ","enabled":true,"created":"2024-03-25T15:50:41.316Z","modified":"2024-03-25T15:50:41.316Z"}]}