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.registry_credentials.delete(
credential_name="docker-io",
project_id=1,
)
Everywhere Inference
Delete inference registry credential
DELETE
/
cloud
/
v3
/
inference
/
{project_id}
/
registry_credentials
/
{credential_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.registry_credentials.delete(
credential_name="docker-io",
project_id=1,
)