---
title: "Remove structural relationships to members"
method: PATCH
path: "/v1/public/members/relationships/remove"
tags: ["Public", "Members"]
---

# Remove structural relationships to members

`PATCH /v1/public/members/relationships/remove`

To batch remove teams or locations or positions from members (employees)

## Request body

- PublicMembersRelationshipsUpdateRequest
  - `members` string[], required — A list of members codes or uids to which structural elements will be linked to.See member.skillIds, member.locationIds and member.teamIds. Note that this endpoint will override the values and not simply add the relationships to the members.
  - `teams` string[] — If specified, members will be linked the those teams. The value can be either team codes or team uids.
  - `locations` string[] — If specified, members will be linked the those locations. The value can be either location codes or location uids.
  - `skills` string[] — If specified, members will be linked the those skills (positions). The value can be either skill codes or skill uids.

## Response `200`

---

[API](https://skmtc.dev/evolia/apis/public-evolia.md) · [All operations](https://skmtc.dev/evolia/apis/public-evolia/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolia/public-evolia/revisions/91b80f2b4802/schema)
