Computer scienceProgramming languagesKotlinAdditional instrumentsAdditional librariesCommunications and Networks

Retrofit

Delete a Person

Report a typo

We are coding our client with Retrofit, and we have a function to delete a person using an Id: suspend fun delete(id: Long). The result is the 204 "No Content" code in the endpoint: api/users/{id}. Please write the correct type of the result to perform this action.

Enter a short text

Create a free account to access the full topic