---
title: "PUT /user/invited-by"
method: PUT
path: "/user/invited-by"
tags: ["User"]
---

# PUT /user/invited-by

`PUT /user/invited-by`

Set logged user's invited by

## Request body

- object
  - `invitedBy` string

## Response `200`

Json with success = true

- object
  - `success` boolean

## Other responses

- `400` — code 1000 = User already invited code 1001 = Invitor username not found
- `500` — Server error

## Changes

- **2023-06-13** `c9159f20c562` — 1 info
  - endpoint added
- **2023-06-09** `b7c6ba235941` — 1 breaking
  - api path removed without deprecation
- **2023-06-05** `c74c457f504d` — 1 info
  - endpoint added
- **2023-01-17** `1e9897483fc9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bohr-io/apis/bohr-io-api/changes/user/invited-by/put.md)

---

[API](https://skmtc.dev/bohr-io/apis/bohr-io-api.md) · [All operations](https://skmtc.dev/bohr-io/apis/bohr-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bohr-io/bohr-io-api/revisions/926405b5dade/schema)
