---
title: "Remove a subscriptions in bulk from the store"
method: POST
path: "/smartfolders/bulkdelete"
tags: ["Subscriptions"]
---

# Remove a subscriptions in bulk from the store

`POST /smartfolders/bulkdelete`

## Request

- Base URL: `https://asm.cloud.tenable.com/api/1.0`
- URL: `https://asm.cloud.tenable.com/api/1.0/smartfolders/bulkdelete`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tenable/apis/attack-surface-management/docs/smartfolders/bulkdelete/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `ids` integer[]: Array of subscription IDs

## Response `200`

OK

- object
  - `numberOfRowsDeleted` integer

## Other responses

- `204`: No Content - No smart folders were deleted.
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/tenable/apis/attack-surface-management.md) - [All operations](https://skmtc.dev/tenable/apis/attack-surface-management/llms.txt) - [OpenAPI document](https://skmtc.dev/tenable/apis/attack-surface-management/revisions/465c06285e48?raw)
