Files
developer.sailpoint.com/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-delete.md
darrell-thobe-sp 2cd5ccfc81 Prettified Code!
2024-04-18 10:31:05 +00:00

1.6 KiB

id, title, pagination_label, sidebar_label, keywords, description, slug, tags
id title pagination_label sidebar_label keywords description slug tags
account-delete-customizer Account Delete Account Delete Account Delete
connectivity
connectors
Account Delete
Intercept the account delete command. /connectivity/saas-connectivity/customizers/commands/account-delete
Connectivity
Connector Command

Overview

Use these commands to intercept the account-delete command.

Input/Output Data Type
Input StdAccountDeleteInput
Output StdAccountDeleteOutput

Example StdAccountDeleteInput

{
    "identity": "john.doe",
    "key": {
        "simple": {
            "id": "john.doe"
        }
    }
}

Example StdAccountDeleteOutput

{
}

Implementation

Before account-delete command

Use this logic to implement the command:

    .beforeStdAccountDelete(async (context: Context, input: StdAccountDeleteInput) => {
        logger.info(`Running before account, for account ${input.identity}`)
        return input
    })

The input object can be mutated and returned, but the same data type must still be returned.

After account-delete command

Use this logic to implement the command:

    .afterStdAccountDelete(async (context: Context, output: StdAccountDeleteOutput) => {
        logger.info(`Running after account delete`)
        return output
    })

The output object can be mutated and returned, but the same data type must still be returned.