FeaturesArchive FeatureSoft-archives a Feature. Idempotent. Existing Price grants continue resolving; new Prices cannot reference the archived feature.POST/v1/features/{id}/archiveSendHeadersPathAuthorizationAuthorizationRequiredBearer <token>API key as Bearer tokenIn: headerPath ParametersidRequiredstringFeature idPOST/v1/features/{id}/archivecURLGoNode.jsPythonPHPRubyJavaC#curl -X POST "https://api.3common.com/v1/features/string/archive" \ -H "Authorization: Bearer <token>"Default Response200401403404Response{ "data": { "id": "string", "hostId": "string", "key": "string", "name": "string", "description": "string", "type": "boolean", "enumValues": [ "string" ], "active": true, "metadata": { "property1": "string", "property2": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } }TypeScriptexport interface Response { data: { id?: string; hostId?: string; /** * Application-facing identifier; unique per host */ key?: string; name?: string; description?: string; /** * Feature value shape. * - boolean: pure on/off * - quantity: countable (drives Entitlement balance) * - enum: one of a fixed ordered set of values * - duration: number of days (or unlimited) */ type?: "boolean" | "quantity" | "enum" | "duration"; /** * Required for type=enum; ordered low→high */ enumValues?: string[]; active?: boolean; metadata?: { [k: string]: string; }; createdAt?: string; updatedAt?: string; }; } Update FeatureApplies a partial update. Mutable: name, description, enumValues, metadata. Immutable: key, type — to switch type, archive and create a new Feature.Unarchive FeatureRestores an archived Feature.