DELETE

Let's assume that you want to delete a repository from your GitHub account. In this case, you need to use the following endpoint with the @DELETE function:

@DELETE("repos/{owner}/{repo}")
fun deleteRepo(@Header("Authorization") accessToken: String,
@Header("Accept") apiVersionSpec: String,
@Path("repo") repo: String,
@Path("owner") owner: String): Call<DeleteRepos>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.150.231