Open Context Protocol is live! 🚀 Read the launch post
usersListSshSigningKeysForUser

usersListSshSigningKeysForUser

List SSH signing keys for a user

GET /users/{username}/ssh_signing_keys HTTP/1.1

Parameters

{
  "username": {
    "description": "The handle for the GitHub user account.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "per_page": {
    "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
    "required": false,
    "location": "query",
    "type": "integer"
  },
  "page": {
    "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
    "required": false,
    "location": "query",
    "type": "integer"
  }
}

Response Schema

{
  "type": "array",
  "items": {
    "title": "SSH Signing Key",
    "description": "A public SSH key used to sign Git commits",
    "type": "object",
    "properties": {
      "key": {
        "type": "string"
      },
      "id": {
        "type": "integer"
      },
      "title": {
        "type": "string"
      },
      "created_at": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "key",
      "id",
      "title",
      "created_at"
    ]
  }
}