Apply one operation to many assets
Deletes, sets a status, or sets ONE field across a selection, and returns how many were affected.
IDS THAT NO LONGER EXIST ARE DROPPED rather than failing the batch, and the returned count is what actually changed — not what was asked for. A selection is a snapshot, and a row can go between listing and acting.
Setting a field MERGES: other field values on each asset are untouched.
Authorization
BearerAuth API authentication via Authorization: Bearer <your-api-key>. Obtain
your API key from Config → API in the Aplas web app.
In: header
Path Parameters
The workspace's slug.
The asset type's slug.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.au.aplas.com/api/v3/workspaces/string/asset-types/string/assets/bulk-op" \ -H "Content-Type: application/json" \ -d '{ "assetIds": [ "string" ], "op": { "kind": "delete" } }'{
"affected": 0
}{
"statusCode": 403,
"error": "Forbidden",
"message": "The permissions of your API key only allow read-only/GET calls."
}{
"statusCode": 403,
"error": "Forbidden",
"message": "The permissions of your API key only allow read-only/GET calls."
}{
"statusCode": 403,
"error": "Forbidden",
"message": "The permissions of your API key only allow read-only/GET calls."
}{
"statusCode": 403,
"error": "Forbidden",
"message": "The permissions of your API key only allow read-only/GET calls."
}