Documentation · API reference
POST
/api/v1/team/ownerPost owner
This page as Markdown, or in an AI chatMore ways to read this page
# Post owner
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/post-team-owner
`POST /api/v1/team/owner`
## What to send
`HandOver`: Typed to confirm: the address of the member who becomes the owner.
- `confirm` (string, needed)
- `to` (string, needed)
## The answer
204
## Asking
```sh
curl -X POST https://tidekeeper.eu/api/v1/team/owner \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"confirm": "…", "to": "…"}'
```
What to send
HandOver Typed to confirm: the address of the member who becomes the owner.
- confirm
- stringneeded
- to
- stringneeded
The answer
Status 204
Asking
curl -X POST https://tidekeeper.eu/api/v1/team/owner \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN" \ -H "Content-Type: application/json" \ -d '{"confirm": "…", "to": "…"}'
const answer = await fetch("https://tidekeeper.eu/api/v1/team/owner", { method: "POST", headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, "Content-Type": "application/json", }, body: JSON.stringify({"confirm": "…", "to": "…"}), }).then((r) => r.json());