Identity and Access Management API, REST: OAuthClientSecret.List
Retrieves the list of OAuthClientSecret resources of the specified OAuthClient.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/oauthClientSecrets
Query parameters
|
Field |
Description |
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
|
pageToken |
string Page token. To get the next page of results, set |
|
oauthClientId |
string Required field. ID of the OAuthClient resource to list OAuthClientSecret resources for. |
Response
HTTP Code: 200 - OK
{
"oauthClientSecrets": [
{
"id": "string",
"oauthClientId": "string",
"description": "string",
"maskedSecret": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
oauthClientSecrets[] |
List of OAuthClientSecret resources of the specified OAuthClient resource |
|
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
OAuthClientSecret
An OauthClientSecretResource
|
Field |
Description |
|
id |
string ID of the oauth client secret. |
|
oauthClientId |
string ID of the oauth client that the secret belongs to. |
|
description |
string Description of the oauth client secret. |
|
maskedSecret |
string Masked value of the oauth client secret: |
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |