Creates an object mapping

POST {{baseUrl}}/configuration-hub/object-mappings/:sourceOrg

This creates an object mapping between current org and source org. Source org should be default when creating an object mapping that is not to be associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage

Request Body

{"objectType"=>"GOVERNANCE_GROUP", "jsonPath"=>"$.description", "sourceValue"=>"Sample Governance Group", "targetValue"=>"Sample Governance Group - Updated", "enabled"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"objectMappingId":"3d6e0144-963f-4bd6-8d8d-d77b4e507ce4","objectType":"GOVERNANCE_GROUP","jsonPath":"$.description","sourceValue":"Sample Governance Group","targetValue":"Sample Governance Group - Updated","enabled":true,"created":"2024-03-19T23:18:53.732Z","modified":"2024-03-19T23:18:53.732Z"}