Spaces method and path for this operation:
Refer to Spaces for more information.
Update an existing entity record in the Entity Store. By default only certain fields can be updated. Set the force query parameter to true to update protected fields.
[Required authorization] Route required privileges: securitySolution.
Query parameters
-
When true, allows updating protected fields.
Values are
trueorfalse. Default value isfalse.
Body
object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide user attributes Show user attributes object
-
Additional properties are NOT allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide host attributes Show host attributes object
-
Additional properties are allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide service attributes Show service attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Additional properties are NOT allowed.
Hide asset attributes Show asset attributes object
-
Additional properties are NOT allowed.
Hide cloud attributes Show cloud attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide entity attributes Show entity attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide lifecycle attributes Show lifecycle attributes object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$. -
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are NOT allowed.
Hide relationships attributes Show relationships attributes object
-
Additional properties are NOT allowed.
Hide accesses_frequently attributes Show accesses_frequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide accesses_infrequently attributes Show accesses_infrequently attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide administers attributes Show administers attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide communicates_with attributes Show communicates_with attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide depends_on attributes Show depends_on attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns attributes Show owns attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide owns_inferred attributes Show owns_inferred attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide resolution attributes Show resolution attributes object
-
Additional properties are NOT allowed.
Hide supervises attributes Show supervises attributes object
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
-
-
Additional properties are NOT allowed.
Hide event attribute Show event attribute object
-
Format should match the following pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$.
-
-
Additional properties are allowed.
-
Additional properties are NOT allowed.
Hide orchestrator attributes Show orchestrator attributes object
-
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
curl -X PUT -H "kbn-xsrf: true" -H "Authorization: ApiKey ${API_KEY}" \
-H "Content-Type: application/json" \
-d '{"entity":{"id":"user:jane.doe@example.com","name":"jane.doe","type":"user","attributes":{"managed":true,"mfa_enabled":true}},"user":{"name":"jane.doe"}}' \
"${KIBANA_URL}/api/security/entity_store/entities/user?force=true"
PUT kbn://api/security/entity_store/entities/user?force=true
{
"entity": {
"id": "user:jane.doe@example.com",
"name": "jane.doe",
"type": "user",
"attributes": { "managed": true, "mfa_enabled": true }
},
"user": { "name": "jane.doe" }
}
{
"entity": {
"attributes": {
"managed": true,
"mfa_enabled": true
},
"id": "user:jane.doe@example.com",
"lifecycle": {
"last_activity": "2026-04-10T14:30:00.000Z"
},
"name": "jane.doe",
"type": "user"
},
"user": {
"email": [
"jane.doe@example.com"
],
"name": "jane.doe",
"roles": [
"admin",
"analyst"
]
}
}
{
"ok": true
}
{
"error": "Bad Request",
"message": "Bad request: The following attributes are not allowed to be updated without forcing it (?force=true): entity.name, entity.type",
"statusCode": 400
}
{
"error": "Not Found",
"message": "Entity ID 'user:jane.doe@example.com' not found",
"statusCode": 404
}