Event Schemas
Deactivate an event schema
You 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
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
name
string
requiredName of the event. Must be unique for an organization.
description
string
Description of the event
version
integer
requiredVersion of event schema
status
enum<string>
Status of event schema
- DRAFT - Schema is in draft state
- ACTIVE - Schema is currently active
- INACTIVE - Schema is currently inactive
- ARCHIVED - Older version of event schema
Available options:
DRAFT
, ACTIVE
, INACTIVE
, ARCHIVED
attributes
object[]
dimensions
object[]
filterFields
string[]
featureDetails
object
details of feature associated with event schema with attribute name
enrichments
object
eventIdTemplate
string
Template used to generate event id based on event payload
eventLevelRevenue
boolean
createdAt
string
updatedAt
string