Event Schemas
Delete an event schema
To delete(archive) an event schema, you’re required to archive associated active usage meters if any.
DELETE
/
event_schema
/
{event_schema_name}
curl --request DELETE \
--url https://api.togai.com/event_schema/{event_schema_name} \
--header 'Authorization: <authorization>'
{
"success": true
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
event_schema_name
string
requiredResponse
200 - application/json
success
boolean
requiredcurl --request DELETE \
--url https://api.togai.com/event_schema/{event_schema_name} \
--header 'Authorization: <authorization>'
{
"success": true
}