POST
/
v1
/
accounts
/
{account_id}
/
awsIamRoleBindings
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/awsIamRoleBindings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "principal": "<string>",
  "role": "<string>"
}'
{
  "accountId": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "principal": "<string>",
  "role": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

Body

application/json
The properties of the AWS IAM role binding being created.

The body is of type object.

Response

200 - application/json
A successful response.

The response is of type object.