POST
/
v1
/
accounts
/
{account_id}
/
awsIamRoleBindings:delete
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/awsIamRoleBindings:delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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 AWS IAM role binding being deleted. Must specify account_id, principal, and role.
principal
string

The principal that is allowed to assume the AWS IAM role. This must be the email address of the user.

role
string

The AWS IAM role ARN that is allowed to be assumed by the principal.

Response

200 - application/json
A successful response.

The response is of type object.