SSH

Remove an SSH key

Removes one of your keys. New connections with it are refused at once. Within moments it is removed from the computers it was written into, and any SSH session opened with it is closed as each computer receives the new key list. Sessions opened with your other keys are not affected. Not available to a workspace-scoped API key (403).

An API key or connected app removes only a key bound to the account it acts on, one whose reach is this_account. Any other key, whether its reach is everywhere (added from the dashboard, or through the API before keys were bound to an account) or another_account, is a 404, as for a key that does not exist. Remove it from the dashboard; a key whose reach is another_account can also be removed with an API key on the account it was added through.

Requires the member role or higher.

delete/ssh-keys/{id}

Request

  • Base URL: https://app.mandala.computer/api/v1
  • URL: https://app.mandala.computer/api/v1/ssh-keys/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The SSH key id.

Response

Gone.

okboolean

Always true. A failure is a status code, not ok: false.

Changes

No recorded changes to this operation across all 1 revision of this API.