Function deleteSpace

  • Deletes a space. Ensure that you first delete all resources from the space to avoid orphaning content. When non-empty-space deletion protection is enabled for the tenant, deletion is rejected if Collections contains any items in the space.

    Parameters

    • spaceId: string

      The ID of the space to delete.

    • Optionaloptions: ApiCallOptions

    Returns Promise<DeleteSpaceHttpResponse>

    DeleteSpaceHttpError