Patch a SOD policy
PATCH {{baseUrl}}/sod-policies/:id
Allows updating SOD Policy fields other than [id
,created
,creatorId
,policyQuery
,type
] using the JSON Patch standard.
Requires role of ORGADMIN.
This endpoint can only patch CONFLICTINGACCESS_BASED type policies. Do not use this endpoint to patch general policies - doing so will build an API exception.
Request Body
{"0"=>{"op"=>"replace", "path"=>"/description", "value"=>"Modified description"}, "1"=>{"op"=>"replace", "path"=>"/conflictingAccessCriteria/leftCriteria/name", "value"=>"money-in-modified"}, "2"=>{"op"=>"replace", "path"=>"/conflictingAccessCriteria/rightCriteria", "value"=>{"name"=>"money-out-modified", "criteriaList"=>[{"type"=>"ENTITLEMENT", "id"=>"2c918087682f9a86016839c0509c1ab2"}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |