ReferenceFlightcontrol APIAWS AccountsGet AWS Account

Get AWS Account API

Use this API to retrieve details of an AWS account in your Flightcontrol organization.

API Description

MethodPath
GET/v1/aws-accounts/{awsAccountId}
Headers
AuthorizationBearer: [API key]

Full Endpoint URL https://api.flightcontrol.dev/v1/aws-accounts/{awsAccountId}

Path Parameters
ParameterTypeDescription
awsAccountIdstringThe Flightcontrol unique ID of the AWS account to retrieve.

Response Example

{
  "id": "cmadqj0k400000cjs6wwu2n5y",
  "givenId": "prod-aws-account",
  "connectedAwsAccountId": "123456789012",
  "name": "My AWS Account",
  "status": "CONNECTED"
}

givenId is the user-provided identifier supplied when the AWS account was created (editable via patch). It is unique within the organization and returned on every read alongside the canonical id.

Response Conditions

Success

Errors