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.
Computer scienceProgramming languagesKotlinAdditional instrumentsAdditional librariesCommunications and Networks
Retrofit
Delete a Person
Report a typo
Enter a short text
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.