Update Resource
PATCH
/__remote/api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.marketplace.updateResource({ integrationConfigurationId: "<id>", resourceId: "<id>", });
console.log(result);}
run();Response
{ "name": "Example Name"}AuthorizationbearerToken
Default authentication mechanism
application/json
Custom claims embedded in the resource tokens Edgenivo mints for this resource.
The credential types the resource accepts:
static for long-lived secrets, oidc for Edgenivo resource OIDC tokens. Can be set freely while the resource has none. After that, only to confirm a change Edgenivo requested with a secrets rotation, once it is complete. Without static, all long-lived secrets must be expired and removed, and no new ones minted or injected.