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.cloud.inference.secrets.delete(
secret_name="aws-dev",
project_id=1,
)
Everywhere Inference
Delete Inference Secret
DELETE
/
cloud
/
v3
/
inference
/
{project_id}
/
secrets
/
{secret_name}
Python
Copy
Ask AI
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.cloud.inference.secrets.delete(
secret_name="aws-dev",
project_id=1,
)