Identity and Access Management API, REST: ServiceControl.ResolveAgent
Статья создана
Обновлена 17 октября 2024 г.
Resolve agent service account for the service in the specified resource container.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/service/{serviceId}/microservice/{microserviceId}
Path parameters
Field |
Description |
serviceId |
string Required field. ID of the Service. |
microserviceId |
string Required field. ID of the Microservice. |
Query parameters
Field |
Description |
resource |
Required field. Resource container. |
Resource
A Resource. For more information, see Resource.
Field |
Description |
id |
string Required field. ID of the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc. |
Response
HTTP Code: 200 - OK
{
"serviceAccountId": "string",
"serviceId": "string",
"microserviceId": "string"
}
Field |
Description |
serviceAccountId |
string ID of the agent service account. |
serviceId |
string ID of the service. |
microserviceId |
string ID of the microservice. |