Skip to main content

Deleting an App

danger

Deleting any Busy Hour App will remove any access to the apps. Keep in mind that this action is irreversible and cannot be undone.

In this section, we will show you how to delete a Busy Hour App.

Prerequisites

  1. Busy Hour Account (Sign Up if you don't have one yet)
  2. Generate a Master/Project API Key from Dashboard/Settings or from Dashboard/Projects

Deleting an App

warning

You can delete a Busy Hour App with any Master API Key or a Project API Key that only specificly for the project app you want to delete.

To delete a Busy Hour App, you can use the app.delete function from the @busy-hour/node package. The function take a appId to delete as the argument.

Quick Example

src/main.ts
import { BusyHourNode } from '@busy-hour/node';

// Create an instance of BusyHourNode with your API key (Master/Project)
const nodeSdk = new BusyHourNode({
apiToken: 'your-api-token',
});

nodeSdk.app.delete({
projectAppId: 'your-project-app-id',
});