Update Resource
/v1/installations/{installationId}/resources/{resourceId}const response = await fetch('/v1/installations/string/resources/string', { method: 'PATCH', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ "name": "string", "metadata": "value", "billingPlanId": "string", "status": "ready", "protocolSettings": { "experimentation": { "edgeConfigId": "string" } } }),});
const data = await response.json();console.log(data);{ "id": "string", "productId": "string", "protocolSettings": { "experimentation": { "edgeConfigSyncingEnabled": "true", "edgeConfigId": "string", "edgeConfigTokenId": "string" } }, "billingPlan": { "id": "string", "type": "prepayment", "name": "string", "scope": "installation", "description": "string", "paymentMethodRequired": "true", "preauthorizationAmount": "123", "initialCharge": "string", "minimumAmount": "string", "maximumAmount": "string", "maximumAmountAutoPurchasePerPeriod": "string", "cost": "string", "details": [], "highlightedDetails": [], "quote": [], "effectiveDate": "string", "disabled": "true" }, "name": "string", "metadata": "value", "status": "ready", "notification": { "level": "info", "title": "string", "message": "string", "href": "string" }}Default authentication mechanism
This endpoint expects an object.