PATCH
/
projects
/
{projectId}
/
logs-presets
/
{id}
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel();

async function run() {
  const result = await vercel.patchProjectsProjectIdLogsPresetsId({
    projectId: "<id>",
    id: "<id>",
    requestBody: {
      title: "Request Path",
    },
  });

  // Handle the result
  console.log(result);
}

run();
{
  "id": "ABCDEFG000011111",
  "data": {
    "query": "<string>",
    "creatorId": "<string>",
    "title": "<string>",
    "groupId": "<string>",
    "ownerId": "<string>",
    "projectId": "<string>",
    "createdAt": 123
  }
}

Path Parameters

projectId
string
required

projectId of the preset

id
string
required

Id of the preset

Body

application/json

Response

200
application/json

Data representing a Team.