Get AWS Account API
Use this API to retrieve details of an AWS account in your Flightcontrol organization.
API Description
| Method | Path |
|---|---|
| GET | /v1/aws-accounts/{awsAccountId} |
| Headers | |
|---|---|
| Authorization | Bearer: [API key] |
Full Endpoint URL https://api.flightcontrol.dev/v1/aws-accounts/{awsAccountId}
| Path Parameters | ||
|---|---|---|
| Parameter | Type | Description |
awsAccountId | string | The 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