POST

Apps.Remove

Remove an uploaded app. The hosting server moves the app folder to trash and marks the record removed instead of hard-deleting immediately.

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Removes the requested Apps record when the user has permission.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.

Required Parameters

NameTypeSampleExplanation
app_slug
post
stringsampleappApp slug to remove. Alias: slug.

Optional Parameters

No optional body parameters are defined for this function.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Apps.Remove",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "app_slug": "sampleapp"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Apps.Remove",
    "url_domain": "https:\/\/{domain}\/app\/Apps.Remove"
}

Endpoint

POST /app/Apps.Remove
POST https://{user}.bull36.com/app/Apps.Remove
POST https://{domain}/app/Apps.Remove

Sample Output

{
    "success": 1,
    "app_slug": "sampleapp",
    "status": "removed",
    "message": "App removed."
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ app_slug: 'sampleapp' });
const res = await fetch('/app/Apps.Remove', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
const data = await res.json();
console.log(data);

Error Example

{
    "success": 0,
    "error": "not_found",
    "message": "App was not found."
}