import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.storage.delete( 0,)
Copy
Ask AI
This response has no body data.
Storage
Delete storage
deprecated
Permanently deletes a storage and all its data. This action cannot be undone.
Deprecated: Use DELETE /provisioning/v3/storages/s3_compatible/
or DELETE /provisioning/v3/storages/sftp/ instead.
DELETE
/
storage
/
provisioning
/
v1
/
storage
/
{storage_id}
Python
Copy
Ask AI
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.storage.delete( 0,)