v1
latestOpenAPI 3.1.02026-07-22115189303.8 KBEvents
Update a project event definition
Updates editable metadata for an event definition. Event names cannot be changed after events have been recorded for the definition. Set archived to true to hide the definition from event tools and workflow selectors while retaining historical events; set it to false to restore it.
patch/event-definitions/{id}
Path parameters
idstring uuid required
Request body
Example request
{
"name": "conversation.csat_scored"
}Response
Definition updated
Example response
{
"data": {
"name": "conversation.csat_scored",
"property_schema": {
"score": {
"type": "number"
},
"reason": {
"type": "string"
}
}
}
}