from swan_mcs import APIClient, BucketAPI
mcs_api = APIClient("<API_KEY>", "<ACCESS_TOKEN>", "<CHAIN_NAME>")
bucket_client = BucketAPI(mcs_api)
bucket_client.delete_file("<BUCKET_NAME>", "<OBJECT_NAME>")c
Removes a bucket from your account.
from swan_mcs import APIClient, BucketAPI
mcs_api = APIClient("<API_KEY>", "<ACCESS_TOKEN>", "<CHAIN_NAME>")
bucket_client = BucketAPI(mcs_api)
bucket_client.delete_bucket("<BUCKET_NAME>")