---
title: "Update a relationship"
method: PUT
path: "/matters/{matterId}/roles/{roleId}/relationships/{id}"
tags: ["Relationships"]
---

# Update a relationship

`PUT /matters/{matterId}/roles/{roleId}/relationships/{id}`

Updates a specified relationship on a matter.

## Path parameters

- `matterId` string, uuid, required
- `roleId` string, uuid, required
- `id` string, uuid, required

## Request body

- RelationshipDto
  - `name` string, nullable — Name of the relationship.
  - `displayName` string, nullable — Display Name of the relationship.
  - `contactId` string, nullable — Unique identifier of the contact.
  - `representativeIds` string[], nullable — List of associated representative contact ids.
  - `isMatterItemRequired` boolean — Boolean flag indicating if a matter item is required.

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object of the relationship to be updated.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `404` — When the specified matter, role or relationship does not exist.

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/ffc7fffa0d5c/schema)
