Typescript (SDK)
import { Autumn } from 'autumn-js'
const autumn = new Autumn()
const result = await autumn.features.delete({
featureId: "old-feature",
});{
"success": true
}
Features
Delete Feature
Deletes a feature by its ID.
Use this to permanently remove a feature. Note: features that are used in products cannot be deleted - archive them instead.
POST
/
v1
/
features.delete
Typescript (SDK)
import { Autumn } from 'autumn-js'
const autumn = new Autumn()
const result = await autumn.features.delete({
featureId: "old-feature",
});{
"success": true
}
Body Parameters
Response
{
"success": true
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
The ID of the feature to delete.
Response
200 - application/json
OK
โI