code: public void delete(String resourceGroupName, String spatialAnchorsAccountName) {
          deleteWithServiceResponseAsync(resourceGroupName, spatialAnchorsAccountName).toBlocking().single().body();
      }
docs: Delete a Spatial Anchors Account.
  
  @param resourceGroupName Name of an Azure resource group.
  @param spatialAnchorsAccountName Name of an Mixed Reality Spatial Anchors Account.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent