Update Lifecycle State

PATCH {{baseUrl}}/identity-profiles/:identity-profile-id/lifecycle-states/:lifecycle-state-id

Use this endpoint to update individual lifecycle state fields, using the JSON Patch standard.

A token with ORG_ADMIN or API authority is required to call this API.

Request Body

{"0"=>{"op"=>"replace", "path"=>"/description", "value"=>"Updated description!"}, "1"=>{"op"=>"replace", "path"=>"/accessProfileIds", "value"=>["2c918087742bab150174407a80f3125e", "2c918087742bab150174407a80f3124f"]}, "2"=>{"op"=>"replace", "path"=>"/accountActions", "value"=>[{"action"=>"ENABLE", "sourceIds"=>["2c9180846a2f82fb016a481c1b1560c5", "2c9180846a2f82fb016a481c1b1560cc"]}, {"action"=>"DISABLE", "sourceIds"=>["2c91808869a0c9980169a207258513fb"]}]}, "3"=>{"op"=>"replace", "path"=>"/emailNotificationOption", "value"=>{"notifyManagers"=>true, "notifyAllAdmins"=>false, "notifySpecificUsers"=>false}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"2c9180835d2e5168015d32f890ca1581","name":"Lifecycle Name","technicalName":"lifecycleTechnicalName","description":"LifecycleDescription","created":"2015-05-28T14:07:17.000Z","modified":"2015-05-28T14:07:17.000Z","enabled":true,"identityCount":12,"emailNotificationOption":{"notifyManagers":true,"notifyAllAdmins":true,"notifySpecificUsers":true,"emailAddressList":["test@test.com","test2@test.com"]},"accountActions":[{"action":"ENABLE","sourceIds":["2c918084660f45d6016617daa9210584","2c918084660f45d6016617daa9210500"]},{"action":"ENABLE","sourceIds":["2c918084660f45d6016617daa9210584","2c918084660f45d6016617daa9210500"]}],"accessProfileIds":["2c918084660f45d6016617daa9210584","2c918084660f45d6016617daa9210500"]}