DELETE
/
cloud
/
v1
/
ssh_keys
/
{project_id}
/
{ssh_key_id}
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.ssh_keys.delete(
    ssh_key_id="36a7a97a-0672-4911-8f2b-92cd4e5b0d91",
    project_id=1,
)

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

Examples:

1

ssh_key_id
string
required

SSH key ID

Examples:

"36a7a97a-0672-4911-8f2b-92cd4e5b0d91"

Response

204

No Content