v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
SSH Keys

List SSH keys for given site.

For given site it will list all SSH keys.

get/v1/sites/{id}/ssh/keys

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Query parameters

searchstring

Search 'name' and 'file' for matches

Example:rocket_rsa
pageinteger

Page of results to include (default = 1)

per_pageinteger

Number of results per page

Example:10
sort'authstatus' | 'file' | 'name'

Sort results by the following property

direction'asc' | 'desc' | 'ASC' | 'DESC'

Direction to sort results in (asc = ascending, desc = descending)

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "metadata": {
    "page": 1,
    "page_size": 10,
    "total": 150
  }
}