Infrastructure
InfrastructureTargets
List all targets
client.zeroTrust.access.infrastructure.targets.list(TargetListParams { account_id, created_after, created_before, 18 more } params, RequestOptionsoptions?): V4PagePaginationArray<TargetListResponse { id, created_at, hostname, 2 more } >
GET/accounts/{account_id}/infrastructure/targets
Get target
client.zeroTrust.access.infrastructure.targets.get(stringtargetId, TargetGetParams { account_id } params, RequestOptionsoptions?): TargetGetResponse { id, created_at, hostname, 2 more }
GET/accounts/{account_id}/infrastructure/targets/{target_id}
Create new target
client.zeroTrust.access.infrastructure.targets.create(TargetCreateParams { account_id, hostname, ip } params, RequestOptionsoptions?): TargetCreateResponse { id, created_at, hostname, 2 more }
POST/accounts/{account_id}/infrastructure/targets
Update target
client.zeroTrust.access.infrastructure.targets.update(stringtargetId, TargetUpdateParams { account_id, hostname, ip } params, RequestOptionsoptions?): TargetUpdateResponse { id, created_at, hostname, 2 more }
PUT/accounts/{account_id}/infrastructure/targets/{target_id}
Delete target
client.zeroTrust.access.infrastructure.targets.delete(stringtargetId, TargetDeleteParams { account_id } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/infrastructure/targets/{target_id}
Create new targets
client.zeroTrust.access.infrastructure.targets.bulkUpdate(TargetBulkUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<TargetBulkUpdateResponse { id, created_at, hostname, 2 more } >
PUT/accounts/{account_id}/infrastructure/targets/batch
Delete targets (Deprecated)
Deprecated
client.zeroTrust.access.infrastructure.targets.bulkDelete(TargetBulkDeleteParams { account_id } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/infrastructure/targets/batch
Delete targets
client.zeroTrust.access.infrastructure.targets.bulkDeleteV2(TargetBulkDeleteV2Params { account_id, target_ids } params, RequestOptionsoptions?): void
POST/accounts/{account_id}/infrastructure/targets/batch_delete