Skip to content

Deleting a Geo Category

This API deletes a geo category. If the category does not exist, the service returns an error.

Removing Categories in Console

Backendless Console supports category deletion via the graphical interface. To delete a category:

  1. Login to Backendless Console
  2. Select your app/backend.
  3. Click the Geolocation icon in the menu on the left.
  4. Use the "delete" icon in the section above the list of categories:

  5. Select DELETE in the confirmation popup.

Deleting Categories with the API
Blocking API

public boolean Backedless.Geo.deleteCategory( String categoryName ) throws BackendlessException

Non-Blocking API

public void Backedless.Geo.deleteCategory( String categoryName, AsyncCallback<Boolean> responder )


Argument                Description
categoryName name of the category to delete.
responder a responder object which receives a callback when the method successfully deletes the category or if an error occurs. Applies to the asynchronous methods only.

Return Value

true if the category is deleted, false otherwise.


Backendless.Geo.deleteCategory( "mycategory", new AsyncCallback<Boolean>()
  public void handleResponse( Boolean result )

  public void handleFault( BackendlessFault backendlessFault )