Identity and Access Management API, REST: ServiceControl.ResolveAgent
Written by
Updated at October 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. |