Repo Delete

Permanently deletes a repository. It cannot be undone. Please note this api requires administrative access to the repository, and repository’s secrets and builds aren’t deleted.

DELETE /api/repos/{owner}/{repo}

Example Response Body:

  "id": 1,
  "scm": "git",
  "owner": "octocat",
  "name": "hello-world",
  "full_name": "octocat/hello-world",
  "avatar_url": "",
  "link_url": "",
  "clone_url": "",
  "default_branch": "master",
  "timeout": 60,
  "private": false,
  "trusted": false,
  "allow_pr": true,
  "allow_push": true,
  "allow_deploys": false,
  "allow_tags": false,
  "visibility": "public",
  "gated": false,
  "active": false,
  "last_build": 0,
  "config_file": ".drone.yml"

Is there a mistake on this page? Please let us know or edit this page.