Update participant attributes
State
Update participant attributes
Merge key-value pairs into a participant’s attributes.
PATCH
Update participant attributes
Merges the provided attributes into the participant’s existing attributes. Existing keys included in the request are updated to the new value. New keys are added. Keys not included in the request are left unchanged. To remove a key entirely, use the delete attribute endpoint. This merge behavior makes the endpoint safe for partial updates without risk of accidentally clearing unrelated attributes.Documentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
For usage patterns and examples, see the State Management guide.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Participant ID
Body
application/json
Attributes to merge
Key-value pairs to merge into existing attributes
Example:
{ "plan": "premium", "region": "us-east" }Response
Updated attributes
Key-value attributes
Example:
{ "plan": "premium", "region": "us-east" }