Infrastructure
InfrastructureTargets
List all targets
client.ZeroTrust.Access.Infrastructure.Targets.List(ctx, params) (*V4PagePaginationArray[AccessInfrastructureTargetListResponse], error)
GET/accounts/{account_id}/infrastructure/targets
Get target
client.ZeroTrust.Access.Infrastructure.Targets.Get(ctx, targetID, query) (*AccessInfrastructureTargetGetResponse, error)
GET/accounts/{account_id}/infrastructure/targets/{target_id}
Create new target
client.ZeroTrust.Access.Infrastructure.Targets.New(ctx, params) (*AccessInfrastructureTargetNewResponse, error)
POST/accounts/{account_id}/infrastructure/targets
Update target
client.ZeroTrust.Access.Infrastructure.Targets.Update(ctx, targetID, params) (*AccessInfrastructureTargetUpdateResponse, error)
PUT/accounts/{account_id}/infrastructure/targets/{target_id}
Delete target
client.ZeroTrust.Access.Infrastructure.Targets.Delete(ctx, targetID, body) error
DELETE/accounts/{account_id}/infrastructure/targets/{target_id}
Create new targets
client.ZeroTrust.Access.Infrastructure.Targets.BulkUpdate(ctx, params) (*SinglePage[AccessInfrastructureTargetBulkUpdateResponse], error)
PUT/accounts/{account_id}/infrastructure/targets/batch
Delete targets (Deprecated)
Deprecated
client.ZeroTrust.Access.Infrastructure.Targets.BulkDelete(ctx, body) error
DELETE/accounts/{account_id}/infrastructure/targets/batch
Delete targets
client.ZeroTrust.Access.Infrastructure.Targets.BulkDeleteV2(ctx, params) error
POST/accounts/{account_id}/infrastructure/targets/batch_delete