Update a Campaign
PATCH {{baseUrl}}/campaigns/:id
Use this API to update individual fields on a certification campaign, using the JSON Patch standard.
Request Body
{"0"=>{"op"=>"replace", "path"=>"/name", "value"=>"This field has been updated!"}, "1"=>{"op"=>"copy", "from"=>"/name", "path"=>"/description"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"3b2e2e5821e84127b6d693d41c40623b","name":"Role Composition Campaign","description":"A review done by a role owner.","deadline":"2020-12-25T06:00:00.468Z","type":"ROLE_COMPOSITION","status":"ACTIVE","emailNotificationEnabled":false,"autoRevokeAllowed":false,"recommendationsEnabled":false}