6.29 REMOVE_APPLICATION Procedure

This procedure removes an application from a workspace. Use the APEX_APPLICATION_INSTALL.SET_% procedures to configure installation parameters.

Syntax

APEX_APPLICATION_INSTALL.REMOVE_APPLICATION (
    p_application_id IN NUMBER )

Parameters

Parameter Description
p_application_id The ID of the application.

Raises

This procedure may raise the following:

  • WWV_FLOW_API.DELETE_APP_IN_DIFFERENT_WORKSPACE: The application is not in this workspace.
  • WWV_FLOW_API.FLOW_NOT_DELETED: The application was not deleted.
  • WWV_FLOW.APP_NOT_FOUND_ERR: The application ID was not found.

Example

The following example demonstrates how to use the REMOVE_APPLICATION procedure to remove an application with an ID of 100 from a workspace.

BEGIN
    apex_application_install.set_workspace('EXAMPLE');
    apex_application_install.set_keep_sessions(false);
    apex_application_install.remove_application(100);
END;