Features

Update a feature

put/subscription/features/{feature_id}

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/subscription/features/{feature_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

feature_idinteger required

Request body

namestring nullable

Feature name

descriptionstring nullable

Feature description

rollout_defaultstring nullable

How a catalog change reaches live deals that do not state this item: retroactive = follows the base plan; opt_in = the deal keeps its old value until opted in

price_per_monthnumber nullable

Monthly price in USD

enabledboolean nullable

Whether feature is enabled

kindstring nullable

Accepted only when it repeats the stored kind: changing a kind reinterprets every plan value already stored under this key

unitstring nullable

Display unit, e.g. GB, /mo, days

group_namestring nullable

Scale | Access | Brand | Governance | Service. NULL means the key is NEVER GATED: granted on every plan and listed apart

enforcementstring nullable

enforced | unenforced | unbuilt | unconfirmed | split | commitment. Anything but 'enforced' requires a note

notestring nullable

What the product actually does today

valuesstring[] nullable

Allowed values for the feature

Response

Request fulfilled, document follows

messagestring required

Changes

No recorded changes to this operation across all 4 revisions of this API.