import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.storage.object_storages.restore(
0,
)
This response has no body data.
S3-Compatible Storage
Restore S3-compatible storage
Restores a previously deleted S3-compatible storage instance if it was deleted within the last 2 weeks.
POST
/
storage
/
v4
/
object_storages
/
{storage_id}
/
restore
Python
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.storage.object_storages.restore(
0,
)