v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Code references

Create extinction

Create a new extinction.

post/api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events

Path parameters

repostring string required

The repository name

The repository name

branchstring string required

The URL-encoded branch name

The URL-encoded branch name

Request body

revisionstring required

The identifier for the revision where flag became extinct. For example, a commit SHA.

messagestring required

Description of the extinction. For example, the commit message for the revision.

timeinteger required
flagKeystring required

The feature flag key

projKeystring required

The project key

Example request

[
  {
    "revision": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
    "message": "Remove flag for launched feature",
    "flagKey": "enable-feature",
    "projKey": "default"
  }
]

Response

Action succeeded