v1

latestOpenAPI 3.0.02026-07-2491237338.9 KB
Custom Events

Update an event definition

Updates an event definition's label and description.

patch/event/definitions/{name}

Path parameters

namestring required
Example:unique_event_name

Name of the custom event.

Request body

labelstring

The label of the event definition.

descriptionstring

The description of the event definition.

Example request

{
  "label": "New Label",
  "description": "Describes the event definition"
}

Response

Successfully updated the event definition.

namestring

The name of the custom event definition.

labelstring

The label of the event definition, used for display purposes.

descriptionstring

The description of the event definition.

objectType'CONTACT'

Type of the object that the event will be associated with.

  • CONTACT: Indicates that the object is a contact.
createTimestring date-time

The time at which this object is created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.

Example response

{
  "name": "propertyName",
  "label": "Property Label",
  "description": "Describes this property",
  "objectType": "CONTACT",
  "createTime": "2024-08-22T00:00:00.000Z",
  "properties": [
    {
      "name": "propertyName",
      "label": "Property Label",
      "description": "Describes this property",
      "createTime": "2024-08-22T00:00:00.000Z"
    }
  ]
}