Skip to content
Start here

Infrastructure

InfrastructureTargets

List all targets
zero_trust.access.infrastructure.targets.list(TargetListParams**kwargs) -> SyncV4PagePaginationArray[TargetListResponse]
GET/accounts/{account_id}/infrastructure/targets
Get target
zero_trust.access.infrastructure.targets.get(strtarget_id, TargetGetParams**kwargs) -> TargetGetResponse
GET/accounts/{account_id}/infrastructure/targets/{target_id}
Create new target
zero_trust.access.infrastructure.targets.create(TargetCreateParams**kwargs) -> TargetCreateResponse
POST/accounts/{account_id}/infrastructure/targets
Update target
zero_trust.access.infrastructure.targets.update(strtarget_id, TargetUpdateParams**kwargs) -> TargetUpdateResponse
PUT/accounts/{account_id}/infrastructure/targets/{target_id}
Delete target
zero_trust.access.infrastructure.targets.delete(strtarget_id, TargetDeleteParams**kwargs)
DELETE/accounts/{account_id}/infrastructure/targets/{target_id}
Create new targets
zero_trust.access.infrastructure.targets.bulk_update(TargetBulkUpdateParams**kwargs) -> SyncSinglePage[TargetBulkUpdateResponse]
PUT/accounts/{account_id}/infrastructure/targets/batch
Delete targets (Deprecated)
Deprecated
zero_trust.access.infrastructure.targets.bulk_delete(TargetBulkDeleteParams**kwargs)
DELETE/accounts/{account_id}/infrastructure/targets/batch
Delete targets
zero_trust.access.infrastructure.targets.bulk_delete_v2(TargetBulkDeleteV2Params**kwargs)
POST/accounts/{account_id}/infrastructure/targets/batch_delete
ModelsExpand Collapse
class TargetListResponse:
id: str

Target identifier

formatuuid
maxLength36
created_at: datetime

Date and time at which the target was created

formatdate-time
hostname: str

A non-unique field that refers to a target

ip: IP

The IPv4/IPv6 address that identifies where to reach a target

ipv4: Optional[IPIPV4]

The target’s IPv4 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
ipv6: Optional[IPIPV6]

The target’s IPv6 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
modified_at: datetime

Date and time at which the target was modified

formatdate-time
class TargetGetResponse:
id: str

Target identifier

formatuuid
maxLength36
created_at: datetime

Date and time at which the target was created

formatdate-time
hostname: str

A non-unique field that refers to a target

ip: IP

The IPv4/IPv6 address that identifies where to reach a target

ipv4: Optional[IPIPV4]

The target’s IPv4 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
ipv6: Optional[IPIPV6]

The target’s IPv6 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
modified_at: datetime

Date and time at which the target was modified

formatdate-time
class TargetCreateResponse:
id: str

Target identifier

formatuuid
maxLength36
created_at: datetime

Date and time at which the target was created

formatdate-time
hostname: str

A non-unique field that refers to a target

ip: IP

The IPv4/IPv6 address that identifies where to reach a target

ipv4: Optional[IPIPV4]

The target’s IPv4 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
ipv6: Optional[IPIPV6]

The target’s IPv6 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
modified_at: datetime

Date and time at which the target was modified

formatdate-time
class TargetUpdateResponse:
id: str

Target identifier

formatuuid
maxLength36
created_at: datetime

Date and time at which the target was created

formatdate-time
hostname: str

A non-unique field that refers to a target

ip: IP

The IPv4/IPv6 address that identifies where to reach a target

ipv4: Optional[IPIPV4]

The target’s IPv4 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
ipv6: Optional[IPIPV6]

The target’s IPv6 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
modified_at: datetime

Date and time at which the target was modified

formatdate-time
class TargetBulkUpdateResponse:
id: str

Target identifier

formatuuid
maxLength36
created_at: datetime

Date and time at which the target was created

formatdate-time
hostname: str

A non-unique field that refers to a target

ip: IP

The IPv4/IPv6 address that identifies where to reach a target

ipv4: Optional[IPIPV4]

The target’s IPv4 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
ipv6: Optional[IPIPV6]

The target’s IPv6 address

ip_addr: Optional[str]

IP address of the target

virtual_network_id: Optional[str]

(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

formatuuid
modified_at: datetime

Date and time at which the target was modified

formatdate-time