---
title: "Create Aws Iam Role Binding"
method: POST
path: "/v1/accounts/{account_id}/awsIamRoleBindings"
tags: ["gateway.openapi_Gateway"]
---

# Create Aws Iam Role Binding

`POST /v1/accounts/{account_id}/awsIamRoleBindings`

## Path parameters

- `account_id` string, required

## Request body

- GatewayAwsIamRoleBinding
  - `accountId` string — The account ID that this binding is associated with.
  - `createTime` string, date-time — The creation time of the AWS IAM role binding.
  - `principal` string, required — The principal that is allowed to assume the AWS IAM role. This must be the email address of the user.
  - `role` string, required — The AWS IAM role ARN that is allowed to be assumed by the principal.

## Response `200`

A successful response.

- GatewayAwsIamRoleBinding
  - `accountId` string — The account ID that this binding is associated with.
  - `createTime` string, date-time — The creation time of the AWS IAM role binding.
  - `principal` string, required — The principal that is allowed to assume the AWS IAM role. This must be the email address of the user.
  - `role` string, required — The AWS IAM role ARN that is allowed to be assumed by the principal.

## Changes

- **2025-11-06** `311efdb2fa57` — 3 info
  - the endpoint scheme security `BearerAuth` was added to the API
  - api tag `gateway.openapi_Gateway` added
  - api tag `Gateway` removed

[Change history](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/changes/v1/accounts/:account_id/awsIamRoleBindings/post.md)

---

[API](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api.md) · [All operations](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/revisions/29a1e4db152c?raw)
