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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

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