Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Update an event

PATCH/events/{identifier}Update an event

Parameters

identifierstringpathrequired

The event ID (UUID) or event name.

Request body

application/json
objectUpdateEventRequest
schemanull | objectrequired

A flat key/type map defining the event payload schema. Set to `null` to clear the schema. Supported types are `string`, `number`, `boolean`, and `date`.

Example request
{
  "schema": {}
}

Responses

200OKapplication/json
objectUpdateEventResponse
idstring · uuid

The ID of the updated event.

objectstring

Type of the response object.

Example response
{
  "id": "00000000-0000-0000-0000-000000000000",
  "object": "event"
}
Documentation menu