Upsert Installation
/v1/installations/{installationId}const response = await fetch('/v1/installations/string', { method: 'PUT', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ "scopes": [], "acceptedPolicies": "value", "credentials": { "access_token": "string", "token_type": "string" }, "account": { "name": "string", "url": "string", "contact": { "email": "string", "name": "string" } } }),});
const data = await response.json();console.log(data);{ "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" }, "notification": { "level": "info", "title": "string", "message": "string", "href": "string" }}Default authentication mechanism
This endpoint expects an object.
null to remove any current installation notification.