Before you delete a workspace, remove all applications running in the workspace and
unassign all users from the workspace.
Prerequisites
Back up the database.
Task
Note: This task can be performed only by a system administrator or a DBA.
- In the Web UI, log in as a user who has the ADMIN
role, and who is assigned to the workspace you want to delete.
- Navigate to the Set Up Default Menu page.
- Remove all applications assigned to the default menu.
- Approve the default menu.
- Go to the Assets page, and remove all applications from the workspace.
- Navigate to the Manage User page, and unassign all users from this workspace,
including the user who logged in.
If the logged-in user is assigned only to this workspace:
- Assign the logged-in user to a different workspace.
- Unassign the logged-in user from the current workspace.
- Using the database management tool, log in to the database, and delete the
workspace data.
- In the M_CLIENTS table, find the workspace ID (for example,
200). The workspace name is in the NAME column.
- In the M_CLIENT_MSISDNS table, find the ID where CLIENTS_ID
= 200. In this example, M_CLIENT_MSISDNS.ID = 222.
- In the M_MESSAGE_LOG table, delete all rows where
CLIENTS_MSISDNS_ID = 222.
- In the M_CLIENT_MSISDNS table, delete the row where ID =
222.
- In the M_SESSIONS_ACTIVE table, delete all rows where
CLIENTS_ID = 200.
- In the M_SESSIONS table, delete all rows where CLIENTS_ID =
200.
- In the M_MESSAGE_RECEIVERS table, delete all rows where
CLIENTS_ID = 200.
- In the M_MENU_PAGES table, get the value of ID where
CLIENTS_ID = 200. In this example, M_MENU_PAGES.ID = 444.
- In the M_MENU_PAGES_LANGS table, delete all rows, where ID =
444.
- In the M_MENU_PAGES table, delete all rows where CLIENTS_ID
= 200.
- In the M_CLIENTS table, delete the row, where ID =
200.