Deleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, you will get a 403 Forbidden response.
The account owner of the repository. The name is not case sensitive.
repo
stringÂ
required
The name of the repository. The name is not case sensitive.
Responses
🟢204Response
application/json
Body
object {0}
🔵307307
🟠403If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response: