Skip to main content

Create Lifecycle State

POST 

/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

Path Parameters

    identity-profile-id stringrequired

    Identity profile ID.

    Example: 2b838de9-db9b-abcf-e646-d4f274ad4238

Body

required

Lifecycle state to be created.

    name stringrequired

    Name of the Object

    enabled boolean

    Indicates whether the lifecycle state is enabled or disabled.

    technicalName stringrequired

    The lifecycle state's technical name. This is for internal use.

    description string

    Lifecycle state's description.

    emailNotificationOption

    object

    This is used for representing email configuration for a lifecycle state

    notifyManagers boolean

    If true, then the manager is notified of the lifecycle state change.

    notifyAllAdmins boolean

    If true, then all the admins are notified of the lifecycle state change.

    notifySpecificUsers boolean

    If true, then the users specified in "emailAddressList" below are notified of lifecycle state change.

    emailAddressList string[]

    List of user email addresses. If "notifySpecificUsers" option is true, then these users are notified of lifecycle state change.

    accountActions

    object[]

  • Array [

  • action string

    Possible values: [ENABLE, DISABLE]

    Describes if action will be enabled or disabled

    sourceIds string[]

    List of unique source IDs. The sources must have the ENABLE feature or flat file source. See "/sources" endpoint for source features.

  • ]

  • accessProfileIds string[]

    List of unique access-profile IDs that are associated with the lifecycle state.

    identityState stringnullable

    The lifecycle state's associated identity state. This field is generally 'null'.

Responses

Created LifecycleState object.

Schema

    id string

    System-generated unique ID of the Object

    name stringrequired

    Name of the Object

    created date-time

    Creation date of the Object

    modified date-time

    Last modification date of the Object

    enabled boolean

    Indicates whether the lifecycle state is enabled or disabled.

    technicalName stringrequired

    The lifecycle state's technical name. This is for internal use.

    description string

    Lifecycle state's description.

    identityCount int32

    Number of identities that have the lifecycle state.

    emailNotificationOption

    object

    This is used for representing email configuration for a lifecycle state

    notifyManagers boolean

    If true, then the manager is notified of the lifecycle state change.

    notifyAllAdmins boolean

    If true, then all the admins are notified of the lifecycle state change.

    notifySpecificUsers boolean

    If true, then the users specified in "emailAddressList" below are notified of lifecycle state change.

    emailAddressList string[]

    List of user email addresses. If "notifySpecificUsers" option is true, then these users are notified of lifecycle state change.

    accountActions

    object[]

  • Array [

  • action string

    Possible values: [ENABLE, DISABLE]

    Describes if action will be enabled or disabled

    sourceIds string[]

    List of unique source IDs. The sources must have the ENABLE feature or flat file source. See "/sources" endpoint for source features.

  • ]

  • accessProfileIds string[]

    List of unique access-profile IDs that are associated with the lifecycle state.

    identityState stringnullable

    The lifecycle state's associated identity state. This field is generally 'null'.

Loading...