Skip to main content
This action occurs after an application is uninstalled from a sandbox.
Action TypeEmbedded
Full Action IDembedded.platform.applications.uninstall
Runs multiple custom functions?Yes

JavaScript File Structure

Action files share the following basic structure:
When you code the custom function for an action, you have access to two arguments: callback—This argument follows the established JavaScript callback pattern: it takes an error as the first argument (or null if there is no error) and a result as the second argument (if required). context—This argument provides the function access to relevant objects and methods that interface with Kibo.

Context: Platform

The methods and objects documented here are available to this action through the use of the context argument. Microservice Operation
This action corresponds to the microservice that installs and uninstalls applications.

Get

get.applicationKey

Returns the application key. Example:
Response:

get.exports

Returns the exports for the application. Example:
Response:

get.installationState

Returns the installation state of the application. Example:
Response:

get.nameSpace

Returns the namespace of the application. Example:
Response:

Exec

exec.saveInstallationState

Saves the supplied application installation state to Kibo. Example:
Response: N/A

Context Objects Available to All Actions

apiContext

Accesses tenant information. Example:

configuration

Receives a JSON response that contains information about the configuration data set in the Action Management JSON editor. Example: