Reference
List connected cloud accounts for the current tenant
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Query Parameters
page?Page
Page number (1-indexed)
page_size?Page Size
Items per page (max 200)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/accounts"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"items": [
{
"provider": "aws",
"account_id": "string",
"account_name": "string",
"region_name": "us-east-1",
"status": "pending_role",
"is_management_account": false,
"organization_id": "string",
"connected_at": "2019-08-24T14:15:22Z",
"cur_status": "not_enabled",
"cur_region": "string",
"cur_last_ingested_at": "2019-08-24T14:15:22Z",
"cur_last_checked_at": "2019-08-24T14:15:22Z",
"cur_last_error": "string",
"cur_data_through": "2019-08-24",
"cur_last_delivery_at": "2019-08-24T14:15:22Z",
"cud_status": "not_enabled",
"cud_last_ingested_at": "2019-08-24T14:15:22Z",
"cud_last_error": "string",
"pricing_status": "not_enabled",
"pricing_last_ingested_at": "2019-08-24T14:15:22Z",
"pricing_last_error": "string",
"cur_delivery_state": "current"
}
],
"pagination": {
"total_items": 0,
"total_pages": 0,
"current_page": 0,
"page_size": 0,
"has_next": true,
"has_previous": true
}
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}