Create Lifecycle State

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

Use this endpoint to create a lifecycle state. A token with ORG_ADMIN or API authority is required to call this API.

Request Body

{"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"=>nil}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"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}