Archive Feature Template
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 The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Advanced Billing id of the feature template.
Query Parameters
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.
falseResponse Body
application/json
curl -X DELETE "https://example.com/features/0.json"Read Feature Template GET
Returns a single feature template. Archived feature templates are not addressable here and return `404`. Restore a template first to read or update it.
Update Feature Template PUT
Updates the name, description, unit, value type, default value, or default periodicity of a feature template. `key` is rejected on every update. `kind` is rejected once any feature catalog item has been created from this template. Archived feature templates are not addressable here and return `404`. Restore a template first to update it.