Management API
...
Features
Update Product Feature
1 min
{ "name" "updates a product feature, if requesting manager has access permissions to it", "method" "patch", "url" "/api/v1/product features/{id}/", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "wz7qlqeehku7drgkesw6q", "language" "json", "code" "{\n \\"name\\" \\"f1\\",\n \\"code\\" \\"f1\\",\n \\"feature type\\" \\"consumption\\",\n \\"max consumption\\" 7,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"metadata\\" {},\n \\"product\\" 1698659666691556,\n \\"is floating\\" true,\n \\"floating users\\" 13,\n \\"floating timeout\\" 113\n\n\n} \n}", "customlabel" "" } ], "selectedlanguageid" "wz7qlqeehku7drgkesw6q" }, "results" { "languages" \[ { "id" "yw2vrhkd1zvp a8sbuql9", "language" "200", "code" "{\n \\"id\\" 560,\n \\"created at\\" \\"2023 10 30t10 18 51z\\",\n \\"updated at\\" \\"2023 10 30t10 22 08 887494z\\",\n \\"name\\" \\"f1\\",\n \\"code\\" \\"f1\\",\n \\"is deleted\\" false,\n \\"feature type\\" \\"consumption\\",\n \\"max consumption\\" 7,\n \\"allow unlimited consumptions\\" false,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"is floating\\" true,\n \\"is floating cloud\\" false,\n \\"floating users\\" 13,\n \\"floating timeout\\" 113,\n \\"metadata\\" {},\n \\"product\\" 1698659666691556\n}", "customlabel" "" }, { "id" "nhxoa1xdgwehjngwe7gl8", "language" "404", "code" "{\n \\"message\\" \\"ain't no cake like that \\"\n}", "customlabel" "" } ], "selectedlanguageid" "yw2vrhkd1zvp a8sbuql9" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "name", "kind" "required", "type" "string", "description" "id of the cake to get", "" "name" }, { "name" "code", "kind" "required", "type" "string", "description" "", "" "required" }, { "name" "feature type", "kind" "required", "type" "string", "description" "choices activation, consumption ", "" "choices activation, consumption " }, { "name" "max consumption", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "parameter name", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "allow overages ", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "max overages", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "reset consumption", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "consumption period", "kind" "optional", "type" "string", "description" "choices daily, weekly, monthly, annually ", "" "choices daily, weekly, monthly, annually " }, { "name" "product", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "is floating", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "floating users", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "floating timeout", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "metadata", "kind" "optional", "type" "object", "description" "json object", "" "object", "children" \[], "schema" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false }
