---
title: "Update Genealogies Tree"
method: POST
path: "/genealogies/trees/{tid}"
tags: ["Trees"]
---

# Update Genealogies Tree

`POST /genealogies/trees/{tid}`

Update a genealogies tree with persons and/or relationships.

## Path parameters

- `tid` string, required

## Headers

- `Accept` 'application/x-fs-v1+json' | 'application/x-gedcomx-v1+json' | 'application/json' | 'application/x-fs-v1+xml' | 'application/x-gedcomx-v1+xml' | 'application/xml', required
- `Content-Type` 'application/x-fs-v1+json' | 'application/x-gedcomx-v1+json' | 'application/x-fs-v1+xml' | 'application/x-gedcomx-v1+xml', required
- `X-Reason` string

## Response `200`

The operation was successful and newly generated identifiers are returned for created persons. See <a href="https://developers.familysearch.org/main/docs/json-schema#collection" target="_blank">Collection Schema (JSON)</a>

## Other responses

- `204` — The operation was successful.
- `404` — If the requested tree is not found.
- `429` — The request was throttled.

---

[API](https://skmtc.net/familysearch/apis/authentication-endpoints.md) · [All operations](https://skmtc.net/familysearch/apis/authentication-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/familysearch/authentication-endpoints/revisions/2b5020574a62/schema)
