Skip to main content
DELETE
/
user
/
following
/
{target}
Unfollow a user
curl --request DELETE \
  --url https://gogs.example.com/api/v1/user/following/{target} \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

target
string
required

Target username

Response

The resource has been successfully deleted.