# Update Presenter — Arlo

> Update an existing Arlo presenter (contact) record. Only the fields you provide are changed (applied as a partial PATCH diff). Run List Presenters first to find a valid presenterId. Example: call with presenterId: "102", email…

- Key: `arlo-update-presenter`
- Type: Action (Write)
- Version: 0.0.2
- App: Arlo (`arlo`) — https://pipedream.com/apps/arlo.md
- This page (HTML): https://pipedream.com/apps/arlo/actions/update-presenter
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/arlo/actions/update-presenter/update-presenter.mjs

## Description

Update an existing Arlo presenter (contact) record. Only the fields you provide are changed (applied as a partial PATCH diff). Run **List Presenters** first to find a valid `presenterId`. Example: call with `presenterId: "102"`, `email: "jim.halpert@athlead.com"` to change just that contact's email and leave all other fields untouched. [See the documentation](https://developer.arlo.co/doc/api/2012-02-01/auth/resources/contacts#instance-httppatch).

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `presenterId` | `string` | Yes | The integer contact ID of the presenter. Run List Presenters to find valid presenter IDs. |
| `firstName` | `string` | No | Optional. New first name (max 32 characters). |
| `lastName` | `string` | No | Optional. New last name (max 32 characters). |
| `email` | `string` | No | Optional. New email address (max 128 characters). |
| `phoneWork` | `string` | No | Optional. New work phone number (max 32 characters). |
| `phoneMobile` | `string` | No | Optional. New mobile phone number (max 32 characters). |
| `phoneHome` | `string` | No | Optional. New home phone number (max 32 characters). |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "arlo",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "arlo-update-presenter",
  arguments: {
    presenterId: "Presenter ID",
    firstName: "First Name",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "arlo-update-presenter",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    arlo: { authProvisionId: "apn_xxxxxxx" },
    presenterId: "Presenter ID",
    firstName: "First Name",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "arlo-update-presenter",
    "configured_props": {
      "arlo": { "authProvisionId": "apn_xxxxxxx" },
      "presenterId": "Presenter ID",
      "firstName": "First Name"
    }
  }'
```

---

- App: https://pipedream.com/apps/arlo.md · All apps: https://pipedream.com/apps
