Function repos_slash_delete

Source
pub async fn repos_slash_delete(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
) -> Result<(), Error<ReposSlashDeleteError>>
Expand description

Deleting a repository requires admin access. If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, you will get a 403 Forbidden response. OAuth app tokens and personal access tokens (classic) need the delete_repo scope to use this endpoint.