cases
Update case settings
Spaces method and path for this operation:
<div><span class="operation-verb patch">patch</span> <span class="operation-path">/s/{space_id}/api/cases/configure/{configurationId}</span></div>Refer to Spaces for more information.
Updates setting details such as the closure type, custom fields, templates, and the default connector for cases. Connectors are used to interface with external systems. You must create a connector before you can use it in your cases. You must have all privileges for the Cases feature in the Management, Observability, or Security section of the Kibana feature privileges, depending on where the case was created.
patch/api/cases/configure/{configurationId}
Path parameters
configurationIdstring required
Example:3297a0f0-b5ec-11ec-b141-0fdb20a7f9a9
An identifier for the configuration.
Headers
kbn-xsrfstring required
Cross-site request forgery protection
Request body
Example request
{
"closure_type": "close-by-user",
"connector": {
"id": "none",
"name": "none",
"type": ".none"
},
"templates": [
{
"caseFields": {
"assignees": [
{
"uid": "u_0wpfV1MqYDaXzLtRVY-gLMrddKDEmfz51Fszhj7hWC8_0"
}
],
"connector": {
"id": "none",
"name": "none",
"type": ".none"
},
"settings": {
"syncAlerts": true
}
}
}
],
"version": "WzIwMiwxXQ=="
}Response
Indicates a successful call.
Example response
{
"closure_type": "close-by-user",
"connector": {
"id": "none",
"name": "none",
"type": ".none"
},
"created_at": "2022-06-01T17:07:17.767Z",
"created_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
},
"id": "4a97a440-e1cd-11ec-be9b-9b1838238ee6",
"mappings": [
{
"action_type": "overwrite",
"source": "title",
"target": "summary"
}
],
"observableTypes": [
{
"key": "d312efda-ec2b-42ec-9e2c-84981795c581",
"label": "My observable type"
}
],
"owner": "cases",
"templates": [
{
"caseFields": {
"assignees": [
{
"uid": "u_0wpfV1MqYDaXzLtRVY-gLMrddKDEmfz51Fszhj7hWC8_0"
}
],
"connector": {
"id": "none",
"name": "none",
"type": ".none"
},
"settings": {
"syncAlerts": true
}
}
}
],
"updated_at": "2022-06-01T19:58:48.169Z",
"updated_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
},
"version": "WzIwNzMsMV0="
}