Skip to main content
PUT
cURL
Updates the active feature named by the URL id. Send the complete editable body with name and a positive integer creditCost. The response contains the current item; changed: false means the submitted values already matched it. The new cost applies to future Check credits and Record usage calls. Previously recorded charges do not change. An unknown or archived feature returns 404 not_found; invalid names or costs return 400 invalid_request. See Catalog for managing feature IDs.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
name
string
required
Required string length: 1 - 120
creditCost
integer
required
Required range: x <= 2147483647

Response

Feature updated

item
object
required
changed
boolean
required