List integrations
client.ZeroTrust.Casb.Integrations.List(ctx, params) (*SinglePage[CasbIntegrationListResponse], error)
GET/accounts/{account_id}/one/integrations
Returns a paginated list of integrations for the account.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
List integrations
package main
import (
"context"
"fmt"
"github.com/cloudflare/cloudflare-go"
"github.com/cloudflare/cloudflare-go/option"
"github.com/cloudflare/cloudflare-go/zero_trust"
)
func main() {
client := cloudflare.NewClient(
option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
)
page, err := client.ZeroTrust.Casb.Integrations.List(context.TODO(), zero_trust.CasbIntegrationListParams{
AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}
{
"errors": [],
"messages": [],
"result": [
{
"application": {
"category": "Productivity",
"display_name": "Google Workspace",
"logo": "https://onprem.cloudflare.com/static/google_workspace.png"
},
"created": "2025-01-15T10:00:00Z",
"id": "019d2e6a-d995-7185-afbd-4feead9e42ec",
"is_paused": false,
"name": "My Google Workspace",
"status": "Healthy",
"updated": "2025-04-10T08:30:00Z"
}
],
"result_info": {
"count": 1,
"next": null,
"page": 1,
"per_page": 10,
"previous": null,
"total_count": 1
},
"success": true
}Returns Examples
{
"errors": [],
"messages": [],
"result": [
{
"application": {
"category": "Productivity",
"display_name": "Google Workspace",
"logo": "https://onprem.cloudflare.com/static/google_workspace.png"
},
"created": "2025-01-15T10:00:00Z",
"id": "019d2e6a-d995-7185-afbd-4feead9e42ec",
"is_paused": false,
"name": "My Google Workspace",
"status": "Healthy",
"updated": "2025-04-10T08:30:00Z"
}
],
"result_info": {
"count": 1,
"next": null,
"page": 1,
"per_page": 10,
"previous": null,
"total_count": 1
},
"success": true
}