# Get IAM policy in project

`GET /v1/projects/{project}/serviceAccounts/{serviceAccount}/iam-policy`, operation `serviceAccounts.GetIamPolicyInProject`

Gets the IAM policy of a service account: who may manage or use it.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `serviceAccount` | path | Yes | `string` | The service account's ID. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `bindings` | `Binding[]` | Yes | Role bindings. Each role appears at most once. |
| `etag` | `string` | Yes | Opaque version of the policy. Send it back when setting the policy; the update fails with aborted if the policy changed in between. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.