/
/Gitea API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1w ago · Updated 4w ago
admin32
  • getLists all jobs
  • getGet all runners
  • postGet a global actions runner registration token
  • getGet a global runner
  • deleteDelete a global runner
  • patchUpdate a global runner
  • getLists all runs
  • getList cron tasks
  • postRun cron task
  • getList all emails
  • getSearch all emails
  • getList system's webhooks
  • postCreate a hook
  • getGet a hook
  • deleteDelete a hook
  • patchUpdate a hook
  • getList all organizations
  • getList unadopted repositories
  • postAdopt unadopted files as a repository
  • deleteDelete unadopted files
  • getSearch users according filter conditions
  • postCreate a user
  • deleteDelete a user
  • patchEdit an existing user
  • getList a user's badges
  • postAdd a badge to a user
  • deleteRemove a badge from a user
  • postAdd a public key on behalf of a user
  • deleteDelete a user's public key
  • postCreate an organization
  • postRename a user
  • postCreate a repository on behalf of a user
issue72
miscellaneous14
notification7
organization67
package9
repository204
settings4
user76
    admin

    Delete a user's public key

    delete/admin/users/{username}/keys/{id}

    Path parameters

    usernamestring required

    username of the user whose public key is to be deleted

    idinteger required

    id of the key to delete

    Response

    APIEmpty is an empty response

    Changes

    No recorded changes to this endpoint across all 5 revisions of this API.