PUT

Let's assume that you want to update a GitHub Gist object. You need to use the following endpoint with the @PUT function:

@PUT("gists/{id}")
fun updateGist(@Path("id") id: String,
@Body
gist: Gist): Call<ResponseBody>