Cloud Organization API, REST: UserSshKey.List
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/userSshKeys
Query parameters
Field |
Description |
organizationId |
string Required field. |
subjectId |
string if empty, list all organization keys |
pageSize |
string (int64) |
pageToken |
string |
Response
HTTP Code: 200 - OK
{
"sshKeys": [
{
"id": "string",
"subjectId": "string",
"data": "string",
"name": "string",
"fingerprint": "string",
"organizationId": "string",
"createdAt": "string",
"expiresAt": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
sshKeys[] |
|
nextPageToken |
string |
UserSshKey
Field |
Description |
id |
string |
subjectId |
string |
data |
string |
name |
string |
fingerprint |
string |
organizationId |
string |
createdAt |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
expiresAt |
string (date-time) Used for temporary keys, if empty the key doesn't expire String in RFC3339 To work with values in this field, use the APIs described in the |