Identity Hub API, gRPC: OsLoginService.ListProfiles
Статья создана
Обновлена 15 декабря 2025 г.
gRPC request
rpc ListProfiles (ListOsLoginProfilesRequest) returns (ListOsLoginProfilesResponse)
ListOsLoginProfilesRequest
{
"organization_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
|
Field |
Description |
|
organization_id |
string Required field. The maximum string length in characters is 50. |
|
page_size |
int64 Acceptable values are 0 to 1000, inclusive. |
|
page_token |
string The maximum string length in characters is 2000. |
|
filter |
string A filter expression that filters profiles listed in the response.
The maximum string length in characters is 1000. |
ListOsLoginProfilesResponse
{
"profiles": [
{
"id": "string",
"organization_id": "string",
"subject_id": "string",
"login": "string",
"uid": "int64",
"is_default": "bool",
"home_directory": "string",
"shell": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
profiles[] |
|
|
next_page_token |
string |
OsLoginProfile
|
Field |
Description |
|
id |
string |
|
organization_id |
string |
|
subject_id |
string |
|
login |
string |
|
uid |
int64 |
|
is_default |
bool |
|
home_directory |
string |
|
shell |
string |