---
title: "Follow a user"
method: PUT
path: "/user/following/{target}"
tags: ["Users"]
---

# Follow a user

`PUT /user/following/{target}`

## Path parameters

- `target` string, required

## Response `204`

Successfully followed the user.

## Other responses

- `404` — Resource not found.
- `422` — Validation error.

---

[API](https://skmtc.net/gogs/apis/gogs-api.md) · [All operations](https://skmtc.net/gogs/apis/gogs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gogs/gogs-api/revisions/87e2da32266c/schema)
