Cubicle

Remove an SSH key

DELETE
/v1/keys/{key}

Removes one of the caller's SSH keys. It stops being authorized for the caller's guest account on their Boxes.

It needs a sign-in session; API keys are refused.

Authorization

session
headerAuthorizationBearer <token>

A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.

Path Parameters

key*string

The SSH key's ID, a UUID, from List your SSH keys.

Formatuuid

Response Body

The key is removed.

Example Request
curl -X DELETE 'https://api.cubicle.sh/v1/keys/1d3f5b7d-9f1b-4c3d-a5f7-5b7d9f1a3c6e'
Example Response
Empty