Feature Templates

Archive Feature Template

DELETE
/features/{id}.json

Archives a feature template. Archived feature templates are not addressable via Read Feature Template or Update Feature Template. Both endpoints return 404 until the template is restored.

The feature template record itself is never hard-deleted, and can always be restored with Restore Feature Template. Reversibility does not extend to remove_from_catalog=true: the feature catalog items and entitlements that parameter destroys are gone permanently, and restoring the template will not bring subscriber access back.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

id*integer

The Advanced Billing id of the feature template.

Query Parameters

remove_from_catalog?boolean

When true, also destroys every feature catalog item created from this template and cascades to their entitlements, revoking subscriber access immediately. When false (default), the feature template and its feature catalog items are archived, and existing entitlements are preserved.

Defaultfalse

Response Body

application/json

curl -X DELETE "https://example.com/features/0.json"
Empty