AWS
List AWS Accounts
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
AWS
List AWS Accounts
It list all AWS accounts associated with the access key credentials
GET
/
integrations
/
aws
/
organizations
curl --request GET \
--url https://use.hoop.dev/api/integrations/aws/organizations
{
"items": [
{
"account_id": "123456789012",
"email": "aws-prod@example.com",
"joined_methods": "INVITED",
"name": "SandBox",
"status": "ACTIVE"
}
]
}
Response
200
application/json
OK
AccountID is the unique identifier for the AWS account
Example:
"123456789012"
Email is the email address associated with the AWS account
Example:
"aws-prod@example.com"
JoinedMethods indicates how the account joined the organization
Available options:
INVITED
, CREATED
Example:
"INVITED"
Name is the friendly name of the AWS account
Example:
"SandBox"
Status indicates whether the account is active, suspended, etc.
Available options:
ACTIVE
, SUSPENDED
, PENDING_CLOSURE
Example:
"ACTIVE"
curl --request GET \
--url https://use.hoop.dev/api/integrations/aws/organizations
{
"items": [
{
"account_id": "123456789012",
"email": "aws-prod@example.com",
"joined_methods": "INVITED",
"name": "SandBox",
"status": "ACTIVE"
}
]
}