Update entity attributes
API Reference
Update entity attributes
Update only custom attributes on an entity β merge new keys or replace the full attributes map. Triggers entity_updated risk matrices when configured.
PATCH
Update entity attributes
Overview
Updates onlyattributes on an entity without touching other profile fields. Supports two modes:
Attributes are stored verbatim β nested objects act as categories and are returned as sent, same as Update entity:
Merge is shallow at the top level: sending a category object (e.g.
contact) overwrites that whole category. Inner keys not included are dropped. Use replace for a full rewrite.entity_updated trigger, rules run after a successful patch (respecting skipRulesExecution and matrix watchFields). Webhook entity.updated is emitted with changes.attributes.
Endpoint
Authentication
Requiresentities:edit (legacy fallback: entities:write).
Path Parameters
string
required
UUID of the entity.
Request Body
object
required
Attribute map. Stored verbatim: scalar/array values at the root are uncategorized; nested objects act as categories.
string
default:"merge"
merge β additive patch (default). replace β full overwrite.boolean
When
true, skips risk matrix execution after the update.Response
Examples
Merge (default)
Full replace
attributes are removed.