Deprecate a version
POST/api/v0/event-definitions/:action/schema-versions/:version/deprecate/
Start the migration window on a superseded version: producers pinned to it are accepted until its deadline, then refused. Only a published version can be deprecated, and not the one ingest selects when an event pins nothing: publish a newer one first. Deprecating a deprecated version changes nothing. Requires the manage scope on a key that is not limited to named trails. Expects no request body.
Request
Responses
- 200
- 403
- 404
- 409
The deprecated version.
Response Headers
ETag
A validator for this version; it changes whenever the version does. Send it back as If-Match.
Missing, invalid or under-scoped API key.
The action is not defined for this team, or it has no such schema version.
The version is a draft, or it is the one ingest currently selects.