Skip to main content
PUT
/
api
/
v1
/
features
/
{id}
Update Feature
curl --request PUT \
  --url https://app.flowglad.com/api/v1/features/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "feature": {
    "id": "<string>",
    "type": "<string>",
    "slug": "<string>",
    "name": "<string>",
    "description": "<string>",
    "amount": "<unknown>",
    "usageMeterId": "<unknown>",
    "renewalFrequency": "<unknown>",
    "pricingModelId": "<string>",
    "active": true
  }
}
'
{
  "feature": {
    "id": "<string>",
    "createdAt": 0,
    "updatedAt": 0,
    "livemode": true,
    "organizationId": "<string>",
    "type": "<string>",
    "slug": "<string>",
    "name": "<string>",
    "description": "<string>",
    "pricingModelId": "<string>",
    "active": true,
    "amount": "<unknown>",
    "usageMeterId": "<unknown>",
    "renewalFrequency": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
feature
object
required

Response

Successful response

feature
object
required