Skip to main content

LifecycleState

Properties

NameTypeDescriptionNotes
idstrSystem-generated unique ID of the Object[optional] [readonly]
namestrName of the Object[required]
createddatetimeCreation date of the Object[optional] [readonly]
modifieddatetimeLast modification date of the Object[optional] [readonly]
enabledboolIndicates whether the lifecycle state is enabled or disabled.[optional] [default to False]
technical_namestrThe lifecycle state's technical name. This is for internal use.[required]
descriptionstrLifecycle state's description.[optional]
identity_countintNumber of identities that have the lifecycle state.[optional] [readonly]
email_notification_optionEmailNotificationOption[optional]
account_actions[]AccountAction[optional]
access_profile_ids[]strList of unique access-profile IDs that are associated with the lifecycle state.[optional]
identity_stateEnum [ 'ACTIVE', 'INACTIVE_SHORT_TERM', 'INACTIVE_LONG_TERM' ]The lifecycle state's associated identity state. This field is generally 'null'.[optional]
access_action_configurationAccessActionConfiguration[optional]
priorityintPriority level used to determine which profile to assign when a user exists in multiple profiles. Lower numeric values have higher priority. By default, new profiles are assigned the lowest priority. The assigned profile also controls access granted or removed during provisioning based on lifecycle state changes.[optional]
}

Example

from sailpoint.v2025.models.lifecycle_state import LifecycleState

lifecycle_state = LifecycleState(
id='id12345',
name='aName',
created='2015-05-28T14:07:17Z',
modified='2015-05-28T14:07:17Z',
enabled=True,
technical_name='Technical Name',
description='Lifecycle description',
identity_count=42,
email_notification_option=sailpoint.v2025.models.email_notification_option.EmailNotificationOption(
notify_managers = True,
notify_all_admins = True,
notify_specific_users = True,
email_address_list = [test@test.com, test2@test.com], ),
account_actions=[
sailpoint.v2025.models.account_action.AccountAction(
action = 'ENABLE',
source_ids = [2c918084660f45d6016617daa9210584, 2c918084660f45d6016617daa9210500],
exclude_source_ids = [3b551ccf5566478b9b77f37de25303aa],
all_sources = True, )
],
access_profile_ids=[2c918084660f45d6016617daa9210584, 2c918084660f45d6016617daa9210500],
identity_state='INACTIVE_LONG_TERM',
access_action_configuration=sailpoint.v2025.models.access_action_configuration.AccessActionConfiguration(
remove_all_access_enabled = True, ),
priority=10
)

[Back to top]