POST
/
v1
/
matrix
/
bulk-delete
Delete multiple matrices
curl --request POST \
  --url https://staging.api.us.aptlydone.com/matrix/v1/matrix/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "matrixIds": [
    "b957884d-d86c-48a6-96d4-33919e778210",
    "38dd7372-209e-4d6e-b733-255edde60ea4"
  ]
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:11.638Z",
  "message": "Success",
  "data": {
    "successCount": 5,
    "failureCount": 0,
    "successIds": [
      "eef73c08-9e42-4289-a982-eb2be34094a7",
      "30cf2dc5-1a88-4e94-a40c-dc54e0d05270"
    ],
    "failures": {
      "de9877f2-a97d-409c-ae77-cb1a35b16026": "Matrix not found",
      "f3a92dd3-a1a3-4031-b11c-4a657ebc3d10": "Unauthorized operation"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Matrices soft deleted successfully

The response is of type object.