---
title: "Update relationship"
method: PATCH
path: "/api/v1/relationships/{id}"
tags: ["Relationships"]
---

# Update relationship

`PATCH /api/v1/relationships/{id}`

## Request

- Base URL: `https://app.parma.ai`
- URL: `https://app.parma.ai/api/v1/relationships/{id}`
- Auth: HTTP bearer

Update the relationships in the Parma account

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `type` 'person' | 'company'
  - `company_id` integer
  - `group_ids` integer[]
  - `about` string
  - `properties` unknown[]
    - unknown

## Response `200`

update relationship

## Other responses

- `401`: authentication failed
- `422`: validation errors

---

[API](https://skmtc.dev/parma/apis/parma-api-v1.md) · [All operations](https://skmtc.dev/parma/apis/parma-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/parma/apis/parma-api-v1/revisions/78481aca2285?raw)
