Get your free beta license ↗
API operation · users group
GET

/users/{name}/ssh-keys

First published 3 Oct 20260.1.0Unchanged since publication

List a customer's SSH public keys

Who may call it
AdministratorResellerCustomer
Token scope, any of
usersreadall
Answers200 OK

Administrators, the customer's reseller and the customer can list the SSH keys UrbeStack manages for the account. The response returns them in keys in ascending id order. Each entry includes id, user, label, type, key, fingerprint and created_at.

Parameters

namepath ·UsernameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/users/alice/ssh-keys" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "keys": [
    {
      "created_at": "2026-09-09T10:15:00Z",
      "fingerprint": "text",
      "id": 1,
      "key": "panel.port",
      "label": "my laptop",
      "type": "rebuild",
      "user": "alice"
    }
  ]
}

Errors

3 errors, each a status and a sentence
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-users-name-ssh-keys/