space_delete function

Delete an existing Space

Delete an existing Space

space_delete( name, spaces_region = NULL, spaces_key = NULL, spaces_secret = NULL, ... )

Arguments

  • name: (character) The name of the existing Space
  • spaces_region: (character) String containing a spaces region. If missing, defaults to value stored in an environment variable DO_SPACES_REGION.
  • spaces_key: (character) String containing a spaces access key. If missing, defaults to value stored in an environment variable DO_SPACES_ACCESS_KEY.
  • spaces_secret: (character) String containing the secret associated with the spaces key. If missing, defaults to value stored in an environment variable DO_SPACES_SECRET_KEY.
  • ...: Additional arguments to aws.s3::delete_bucket

Returns

(character) The name of the deleted Space.

Examples

## Not run: # Delete an existing Space # (Check names within region) space_delete("new_space_name") ## End(Not run)
  • Maintainer: Mauricio Vargas
  • License: Apache License (>= 2)
  • Last published: 2023-04-19