---
title: "Edit a set of subscriptions"
method: POST
path: "/smartfolders/bulkedit"
tags: ["Subscriptions"]
---

# Edit a set of subscriptions

`POST /smartfolders/bulkedit`

## Request

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

## Request body

- object
  - `ids` integer[], required: Array of SmartFolder IDs to modify.
  - `update` object, required: The common fields and values to be applied to ALL specified SmartFolders.
    - `notifications` object[]
      - `type` 'email' | 'slack' | 'servicenow', required
      - `email` string, email
      - `webhookUrl` string: To be used for Slack integration.
      - `enabled` boolean, required

## Response `200`

OK

- object
  - `affectedRows` integer

## Other responses

- `401`: Unauthorized
- `404`: The specified resource was not found
- `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)
