Security Case
Update Security Case
Endpoint to update an existing Security Case
put/security-case/{id}
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Security Case to update
Request body
Example request
{
"data": {
"title": "This is an example of longer text content that provides detailed information."
}
}Response
Updated successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"caseNumber": 42,
"caseNumberWithPrefix": "Example Text",
"title": "This is an example of longer text content that provides detailed information.",
"description": null,
"securityCaseStatus": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"securityCaseStatusId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"securityCasePriority": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"securityCasePriorityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"verdict": "Example Text",
"closingNote": null,
"assignedToUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"assignedToUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"assignedToTeam": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"assignedToTeamId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"source": "Example Text",
"entities": {
"key": "value",
"nested": {
"data": 123
}
},
"mitreTactics": {
"key": "value",
"nested": {
"data": 123
}
},
"mitreTechniques": {
"key": "value",
"nested": {
"data": 123
}
},
"customFields": {
"key": "value",
"nested": {
"data": 123
}
},
"detectionCount": 42,
"firstDetectedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastDetectedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"acknowledgedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"containedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"closedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"acknowledgeDueAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"containDueAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"acknowledgeWarnedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"acknowledgeMissedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"containWarnedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"containMissedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"nextDueAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"nextTargetCheckAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"closedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"closedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"groupingKey": "This is an example of longer text content that provides detailed information.",
"notifiedSecurityCasePriorityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incident": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"incidentId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiVerdict": "Example Text",
"aiSuggestedSecurityCasePriorityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiSuggestedPlaybookId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiTriageReport": null,
"aiTriagedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"aiTriagePromptInjectionSuspected": true,
"labels": [
{
"_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
},
{
"_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
}
],
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"deletedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.