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

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

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