Event Schemas
Deactivate an event schema
Changed onYou can deactivate an event schema using this API. In case you have an activate usage meter associated with the event schema, you will need to deactivate it first and then try deactivating the event schema.
post/event_schema/{event_schema_name}/deactivate
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
event_schema_namestring required
Example:rides
Response
Response for Create and Get event schema requests
Example response
{
"version": 1,
"status": "DRAFT",
"attributes": [
{
"name": "distance",
"defaultUnit": "kms"
}
],
"dimensions": [
{
"name": "city"
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info