Administration

Delete a user

Requires the authenticated user to be a site administrator.

delete/admin/users/{username}

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

usernamestring required

Username

Response

The resource has been successfully deleted.

Changes

No recorded changes to this operation across all 3 revisions of this API.