latestOpenAPI 3.0.02026-08-224362174.0 KB

24a8012aa8c8

Create an Event Domain

Create a new event domain, with its events and components.

post/events/domains

Request body

namestring required

The domain's name

slugstring

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

descriptionstring

The domain's description

onUndeclaredSchema'ALLOW_EVENT' | 'BLOCK_EVENT'

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

Response

Ok

OR
OR
'Internal Server Error' required