Update event type
PATCH
https://api.flownally.com/v1/event-types/{id}Updates a custom event type. A new payloadSchema must keep every field of the current
one: you can add fields, but removing one fails with 400.
Authorization
Required scopes
- event_type:update
Allowed roles
- owner
- admin
- agent
Update an event type in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Event type ID.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
description- Type
- string
- Name
payloadSchema- Type
- object
Replaces the payload schema, in the same format as on create. It must keep every field of the current schema.
Responses
- 200Event type updatedapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.