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": null,
    "usageMeterId": null,
    "renewalFrequency": null,
    "pricingModelId": "<string>",
    "active": true
  }
}'
{
  "feature": {
    "id": "<string>",
    "createdAt": 0,
    "updatedAt": 0,
    "livemode": true,
    "organizationId": "<string>",
    "type": "<string>",
    "slug": "<string>",
    "name": "<string>",
    "description": "<string>",
    "amount": null,
    "usageMeterId": null,
    "renewalFrequency": null,
    "pricingModelId": "<string>",
    "active": true
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
feature
object
required
  • Option 1
  • Option 2

Response

Successful response

feature
object
required
  • Option 1
  • Option 2
I