Update Event Type

PUT {{baseUrl}}/api/v1/event-type/:event_type_name

Update an event type.

Request Body

{"description"=>"<string>", "archived"=>false, "schemas"=>{"velit_7"=>"<object>"}, "featureFlag"=>"<string>"}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | Accept | string | | |

RESPONSES

status: Created

{"createdAt":"2001-11-18T21:36:45.749Z","description":"A user has signed up","name":"user.signup","updatedAt":"2003-10-27T07:53:05.557Z","archived":false,"schemas":{"1":{"description":"An invoice was paid by a user","properties":{"invoiceId":{"description":"The invoice id","type":"string"},"userId":{"description":"The user id","type":"string"}},"required":["invoiceId","userId"],"title":"Invoice Paid Event","type":"object"}},"featureFlag":"cool-new-feature"}