mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
1.6 KiB
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 |
|
Intercept the account delete command. | /connectivity/saas-connectivity/customizers/commands/account-delete |
|
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.