delete

suspend fun delete(target: HttpTarget, path: String, common: CommonOptions = CommonOptions.Default, headers: List<Header> = emptyList()): CouchbaseHttpResponse

Issues a DELETE request to the target Couchbase service.

If the path has variable parts, consider using formatPath to build the path string.

There's usually no reason to set extra headers unless you're invoking an API that requires a special header.