latestOpenAPI 3.0.02026-08-224362174.0 KB

24a8012aa8c8

Update an Event Contract

Update an existing event contract

Patch an event contract based on its Hightouch ID

patch/events/contracts/{contractId}

Path parameters

contractIdstring required

Request body

namestring

The contract's name

slugstring

The contract's slug. If not specified, one will be generated.

descriptionstring

The contract's description

onUndeclaredSchema'ALLOW_EVENT' | 'BLOCK_EVENT'

What happens to events that aren't defined in the contract. One of ALLOW_EVENT or BLOCK_EVENT. Optional, defaults to ALLOW_EVENT.

Response

Ok

OR
OR
'Internal Server Error' required