---
title: "Delete multiple 'AutomationSource' entities by id"
method: DELETE
path: "/atm-source/bulk"
tags: ["AutomationSource"]
---

# Delete multiple 'AutomationSource' entities by id

`DELETE /atm-source/bulk`

## Request

- Base URL: `https://app.testiny.io/api/v1`
- URL: `https://app.testiny.io/api/v1/atm-source/bulk`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/testiny/apis/testiny-api/docs/atm-source/bulk/delete.ts> (a function with typed inputs; its response is checked against the schema)

Returns the list of deleted ids. If the entity type supports soft-deletion this operation only soft-deletes the entities.

## Request body

- object[]
  - `id` integer

## Response `200`

Returns an array of AutomationSource.

- AutomationSource[]
  - `id` integer: The unique entity id - must be a positive integer
  - `project_id` integer: The project id this entity or mapping belongs to
  - `name` string: The name property
  - `display_name` string: Display name for automation source in user interface
  - `retention_days` number: The retention_days property

## Other responses

- `4XX`: The request failed because invalid request parameters or data were supplied or access was denied.
- `5XX`: The request failed because an error occurred during processing of the request.

---

[API](https://skmtc.dev/testiny/apis/testiny-api.md) - [All operations](https://skmtc.dev/testiny/apis/testiny-api/llms.txt) - [OpenAPI document](https://skmtc.dev/testiny/apis/testiny-api/revisions/8f7643b2429d?raw)
