TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Delete several albums by ID

DELETEhttps://api.testingapis.com/api/Albums/bulkSign in to see this endpoint's URL

Parameters 1

NameTypeDescription
idsquery · stringComma-separated record IDs, e.g. 1,2,3.

Responses

200
Returns { message, deleted, notFound }; IDs that do not exist are listed in notFound.
400
The ids parameter is missing or is not a list of integers.

Example

Request
curl -X DELETE "https://api.testingapis.com/api/Albums/bulk?ids=12,13" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"message": "2 album record(s) deleted", "deleted": [12, 13], "notFound": []}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.