SSH Key
Retrieve all SSH Keys
Changed onRetrieve all SSH Keys for the current Tenant.
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
get/v2/org/{org}/nico/sshkey
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/sshkey
- AuthHTTP bearer
Query parameters
sshKeyGroupIdstring
ID of the SSH Key Group
querystring
Search for matches across all SSH Keys. Input will be matched against the name field
includeRelation'Tenant'
Related entity to expand
pageNumberinteger
One-indexed page number.
Page number for pagination query
pageSizeinteger
Example:20
Page size for pagination query
orderBy'NAME_ASC' | 'NAME_DESC' | 'CREATED_ASC' | 'CREATED_DESC' | 'UPDATED_ASC' | 'UPDATED_DESC'
Ordering for pagination query
Response
Example response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "sre-ssh-reno",
"org": "wdksahew1rqf",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"fingerprint": "CaK2yoj5fDOhf1swM2kFyjQrd3bwZfDYlWnVjBHgveQ",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]Changes
- info
removed the
nicoenum value from theresponse property for the response status
- info
- breaking
removed the enum value
STATUS_ASCfrom thequeryrequest parameterorderBy - breaking
removed the enum value
STATUS_DESCfrom thequeryrequest parameterorderBy
- breaking