Update Event
Changed onUpdate event description and its linked schema.
patch/v1/{workspace}/event/{url_encoded_event_name}/
Request
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Workspace slug (staging, production, etc.)
url_encoded_event_namestring required
URL encoded event name
Request body
Example request
{
"description": "Triggered whenever a new user successfully signs up on the platform",
"payload_schema": {
"schema": "user_signup_v1"
}
}Response
Updated event details
object required
Changes
- breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
removed the success response with the status
- info
added the success response with the status
- breaking