Lists
List Zero Trust lists
client.ZeroTrust.Gateway.Lists.List(ctx, params) (*SinglePage[GatewayList], error)
GET/accounts/{account_id}/gateway/lists
Get Zero Trust list details
client.ZeroTrust.Gateway.Lists.Get(ctx, listID, query) (*GatewayList, error)
GET/accounts/{account_id}/gateway/lists/{list_id}
Create Zero Trust list
client.ZeroTrust.Gateway.Lists.New(ctx, params) (*GatewayListNewResponse, error)
POST/accounts/{account_id}/gateway/lists
Update Zero Trust list
client.ZeroTrust.Gateway.Lists.Update(ctx, listID, params) (*GatewayList, error)
PUT/accounts/{account_id}/gateway/lists/{list_id}
Patch Zero Trust list.
client.ZeroTrust.Gateway.Lists.Edit(ctx, listID, params) (*GatewayList, error)
PATCH/accounts/{account_id}/gateway/lists/{list_id}
Delete Zero Trust list
client.ZeroTrust.Gateway.Lists.Delete(ctx, listID, body) (*GatewayListDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/lists/{list_id}
ListsItems
Get Zero Trust list items
client.ZeroTrust.Gateway.Lists.Items.List(ctx, listID, query) (*SinglePage[[]GatewayItem], error)
GET/accounts/{account_id}/gateway/lists/{list_id}/items