Skip to main content
DELETE
Remove an SSH key from a reservation

Overview

Removes a key from every node of a reservation; the write behind morph compute keys remove. The key is returned as removing and leaves the list once it is off every node. Organization keys require an organization admin.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the reservation that loses the key. Id of the reservation the key is on.

Example:

"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74"

keyId
string<uuid>
required

Identifies the key to remove. Key id from the SSH key list.

Example:

"e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28"

Response

Key marked removing.

The key that was added or removed.

sshKey
object
required

The key after the change.

Example: