Import Resource
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}const response = await fetch('https://api.vercel.com/v1/installations/string/resources/string', { method: 'PUT', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ "ownership": "owned", "productId": "string", "name": "string", "status": "ready", "metadata": "value", "billingPlan": { "id": "string", "type": "prepayment", "name": "string", "description": "string", "paymentMethodRequired": "true", "cost": "string", "details": [], "highlightedDetails": [], "effectiveDate": "string" }, "notification": { "level": "info", "title": "string", "message": "string", "href": "string" }, "extras": "value", "secrets": [] }),});
const data = await response.json();console.log(data);{ "name": "string"}Default authentication mechanism
This endpoint expects an object.