Page tree
Skip to end of metadata
Go to start of metadata

Note

Deleting a Space can only be done when authenticated as a user, it cannot be done when authenticated as an application.

The "deleteSpace" mutation expects and returns fixed and basic input and output. The only input is the space ID. The only output is a boolean value for whether or not the deletion was successful.

As a result the org.opencode4workspace.builders.SpaceDeleteGraphQLMutation only has one visible method, the static helper method buildDeleteSpaceMutation(String). This takes the ID of the Space to delete and returns a boolean for whether or not the process was successful. Similar helper methods are available in WWClient and WWGraphQLEndpoint. The recommended approach is to use WWClient, as in the example below.

deleteSpace
boolean result = client.deleteSpace("58935f40f4b0f36a34bbf40f");
assert result == true;

1 Comment

  1. Anonymous

    latest rtg casino bonuses play real money slots with bonus online casino payment services new casinos usa no download casino for mac how to play casino card game new online casinos excepting usa playerscasino in the usa play slots for real money 99 slots bonus codes

Write a comment…