Update or rename an event definition
PATCH/api/v0/event-definitions/:action/
Change any of an action's fields; omitted fields keep their value. Sending a new action renames it, and its schema versions go with it. Events already stored keep the name they were written with. Requires the manage scope on a key that is not limited to named trails.
Request
Responses
- 200
- 400
- 403
- 404
The definition as it now stands.
The definition was refused: the action is malformed, reserved or already defined, a target type is malformed, or the body is not JSON.
Missing, invalid or under-scoped API key.
No EventDefinition has that id, or it belongs to another team.