---
title: "Set Current Tree Id"
method: POST
path: "/trees/current"
tags: ["Trees"]
---

# Set Current Tree Id

`POST /trees/current`

Set the id of the current tree.

## Headers

- `Content-Type` 'application/x-fs-v1+json' | 'application/json', required

## Response `204`

Successfully set the id of the current tree

## Other responses

- `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/versions/2b5020574a62/schema)
