delete

abstract fun delete(body: RequestBody?, endPoint: EndPoint.IEnumEndpoint, vararg params: String): DeleteRestApi(source)
open fun delete(endPoint: EndPoint.IEnumEndpoint, vararg params: String): DeleteRestApi(source)

Deletes something from the API.

Return

The DeleteRestApi object.

Parameters

endPoint

The endpoint to delete from.

params

The parameters to be used in the endpoint.


open fun delete(body: RequestBody, endPoint: EndPoint.IEnumEndpoint): DeleteRestApi(source)

Deletes something from the API.

Return

The DeleteRestApi object.

Parameters

body

The body of the request.

endPoint

The endpoint to delete from.


Deletes something from the API.

Return

The DeleteRestApi object.

Parameters

endPoint

The endpoint to delete from.