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

{"name":"aName","technicalName":"Technical Name","id":"id12345","created":"2015-05-28T14:07:17Z","modified":"2015-05-28T14:07:17Z","enabled":true,"description":"Lifecycle description","identityCount":42,"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"],"identityState":null}