PUT
/
storage
/
provisioning
/
v1
/
key
Create SSH key
curl --request PUT \
  --url https://api.gcore.com/storage/provisioning/v1/key \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "name": "<string>"
}'
{
  "created_at": "2025-08-05 09:15:00+00:00",
  "id": 123,
  "name": "my-production-key"
}

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

Body

application/json
key
string
name
string

Response

Key

created_at
string

ISO 8601 timestamp when the SSH key was created

Example:

"2025-08-05 09:15:00+00:00"

id
integer

Unique identifier for the SSH key

Example:

123

name
string

User-defined name for the SSH key

Example:

"my-production-key"