Admin — Learned Patterns
Bulk status change
Updates the status of multiple learned patterns at once. Maximum 100 IDs per request. Only 'approved' and 'rejected' statuses are allowed.
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
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/admin/learned-patterns/bulk" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "string" ], "status": "approved" }'{
"updated": [
"string"
],
"notFound": [
"string"
],
"errors": [
{
"id": "string",
"error": "string"
}
]
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}