---
title: "Update some profile attributes"
method: PATCH
path: "/attributes/{table}/{key}/{value}"
tags: ["Profiles"]
---

# Update some profile attributes

`PATCH /attributes/{table}/{key}/{value}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/attributes/{table}/{key}/{value}`
- Auth: API key in header `Authorization`

Update some of the profile attributes for a user.

## Path parameters

- `table` string, required
- `key` string, required
- `value` string, required

## Query parameters

- `account_id` string

## Request body `*/*`

- object

## Response `200`

User profile"  example({"data":{"email":"hello@lytics.com","first_name":"John","last_name":"Doe","age":30,"city":"Portland","external_audiences":["sports enthusiasts", "music lovers", "new customers"],"last_updated":"2025-10-15T14:30:00Z"},"status":200,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600"})

- object
  - `_meta` object: Response Metadata
  - `data` object: Response Payload
  - `request_id` string
  - `status` integer: HTTP Status Code

## Other responses

- `400`: status":400,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"BADREQ-001","message":"The body of your request could not be processed. Please check the format of your request."}]})
- `404`: status":404,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"NOTFOUND-003","message":"The attribute you are trying to update does not exist"}]})
- `500`: status":500,"request_id":"bc58cac9-4712-4ff2-81c2-89941bd7b600","errors":[{"code":"INTERNAL-019","message":"Internal server error"}]})

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/attributes/:table/:key/:value/patch.md)

---

[API](https://skmtc.dev/lytics/apis/lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/lytics-api/revisions/d8e975057aec?raw)
