API Documentation
Endpoint Examples
Case
Bulk Update Case
Case
Bulk Update Case
Update many existing cases
POST
/
cases
/
_bulk
curl --request POST \
--url https://local.casebender.com:3000/api/cases/_bulk \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"id": [
"<string>"
],
"fields": {
"title": "<string>",
"description": "<string>",
"statusValue": "<string>",
"severity": 2.5,
"tags": [
{
"id": 123
}
],
"customFields": {},
"tlp": 2,
"pap": 1.5,
"assigneeId": "<string>",
"flag": true,
"extraData": {},
"organizations": [
"<string>"
]
},
"options": {
"selectAll": true,
"filters": {
"statusValue": [
"<string>"
],
"severity": [
123
],
"assigneeId": [
"<string>"
],
"searchKey": "<string>",
"searchValue": "<string>"
}
}
}'
{
"count": 123
}
Authorizations
Body
application/json
Required range:
1 <= x <= 4
Required range:
0 <= x <= 4
Required range:
0 <= x <= 3
Response
200
application/json
Successful response
curl --request POST \
--url https://local.casebender.com:3000/api/cases/_bulk \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"id": [
"<string>"
],
"fields": {
"title": "<string>",
"description": "<string>",
"statusValue": "<string>",
"severity": 2.5,
"tags": [
{
"id": 123
}
],
"customFields": {},
"tlp": 2,
"pap": 1.5,
"assigneeId": "<string>",
"flag": true,
"extraData": {},
"organizations": [
"<string>"
]
},
"options": {
"selectAll": true,
"filters": {
"statusValue": [
"<string>"
],
"severity": [
123
],
"assigneeId": [
"<string>"
],
"searchKey": "<string>",
"searchValue": "<string>"
}
}
}'
{
"count": 123
}