You need to remove an Event based on it;s id from your API, Which code snippet defines that request in Retrofit?

Advertisement

  • @DELETE(“events) fun deleteEvent(@Path(“id”) id: Long): Call
  • @DELETE(“events/{id}”) fun deleteEvent(@Path(“id”) id: Long): Call
  • @REMOVE(“events/{id}”) fun deleteEvent(@Path(“id”) id: Long): Call
  • @DELETE(“events/{id}”) fun deleteEvent(@Path(“id”) id: Long): Call
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend