Patch a Non-Employee Source

PATCH {{baseUrl}}/non-employee-sources/:sourceId

patch a non-employee source. (partial update)
Patchable field: name, description, approvers, accountManagers Requires role context of idn:nesr:update.

Request Body

{"0"=>{"op"=>"replace", "path"=>"/name", "value"=>{"new name"=>nil}}, "1"=>{"op"=>"replace", "path"=>"/approvers", "value"=>["2c91809f703bb37a017040a2fe8748c7", "48b1f463c9e8427db5a5071bd81914b8"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"a0303682-5e4a-44f7-bdc2-6ce6112549c1","sourceId":"2c91808568c529c60168cca6f90c1313","name":"Retail","description":"Source description","approvers":[{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"},{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"}],"accountManagers":[{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"},{"type":"IDENTITY","id":"5168015d32f890ca15812c9180835d2e"}],"modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z"}