---
title: "Register or update Farming Simulator server credentials"
method: PUT
path: "/api/v1/users/me/fs-registration"
tags: ["users"]
---

# Register or update Farming Simulator server credentials

`PUT /api/v1/users/me/fs-registration`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/users/me/fs-registration`
- Auth: HTTP bearer

Register or update Farming Simulator server credentials

## Request body

- object
  - `license` string, required: FS server license key
  - `serverId` number, required: Server ID to register on
  - `nickname` string, required: In-game nickname

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `message` string: Registration result message
  - `meta` object, required
    - `timestamp` number, required

## Other responses

- `400`: Invalid registration data
- `401`: Default Response
- `403`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/farmersonly/apis/farmersonly-club-api.md) - [All operations](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/llms.txt) - [OpenAPI document](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/revisions/b4fa9123ba90?raw)
