code: public Integer delete(CMAAsset asset) {
      final String assetId = getResourceIdOrThrow(asset, "asset");
      final String spaceId = getSpaceIdOrThrow(asset, "asset");
      final String environmentId = asset.getEnvironmentId();
  
      return service.delete(spaceId, environmentId, assetId).blockingFirst().code();
    }
docs: Delete an Asset.
  
  @param asset Asset
  @return An integer representing the result of the delete operation
  @throws IllegalArgumentException if spaceId is null.
  @throws IllegalArgumentException if assetId is null.