Skip to content
Start here

Rules

Get DEX Rule
zero_trust.dex.rules.get(strrule_id, RuleGetParams**kwargs) -> RuleGetResponse
GET/accounts/{account_id}/dex/rules/{rule_id}
Delete a DEX Rule
zero_trust.dex.rules.delete(strrule_id, RuleDeleteParams**kwargs) -> RuleDeleteResponse
DELETE/accounts/{account_id}/dex/rules/{rule_id}
Update a DEX Rule
zero_trust.dex.rules.update(strrule_id, RuleUpdateParams**kwargs) -> RuleUpdateResponse
PATCH/accounts/{account_id}/dex/rules/{rule_id}
Create a DEX Rule
zero_trust.dex.rules.create(RuleCreateParams**kwargs) -> RuleCreateResponse
POST/accounts/{account_id}/dex/rules
List DEX Rules
zero_trust.dex.rules.list(RuleListParams**kwargs) -> SyncV4PagePagination[Optional[RuleListResponse]]
GET/accounts/{account_id}/dex/rules
ModelsExpand Collapse
class RuleGetResponse:
id: str

API Resource UUID tag.

maxLength36
created_at: str
match: str
name: str
description: Optional[str]
targeted_tests: Optional[List[TargetedTest]]
data: TargetedTestData

The configuration object which contains the details for the WARP client to conduct the test.

host: str

The desired endpoint to test.

kind: Literal["http", "traceroute"]

The type of test.

One of the following:
"http"
"traceroute"
method: Optional[Literal["GET"]]

The HTTP request method type.

enabled: bool
name: str
test_id: str
updated_at: Optional[str]
Optional[bool]
class RuleUpdateResponse:
id: str

API Resource UUID tag.

maxLength36
created_at: str
match: str
name: str
description: Optional[str]
targeted_tests: Optional[List[TargetedTest]]
data: TargetedTestData

The configuration object which contains the details for the WARP client to conduct the test.

host: str

The desired endpoint to test.

kind: Literal["http", "traceroute"]

The type of test.

One of the following:
"http"
"traceroute"
method: Optional[Literal["GET"]]

The HTTP request method type.

enabled: bool
name: str
test_id: str
updated_at: Optional[str]
class RuleCreateResponse:
id: str

API Resource UUID tag.

maxLength36
created_at: str
match: str
name: str
description: Optional[str]
targeted_tests: Optional[List[TargetedTest]]
data: TargetedTestData

The configuration object which contains the details for the WARP client to conduct the test.

host: str

The desired endpoint to test.

kind: Literal["http", "traceroute"]

The type of test.

One of the following:
"http"
"traceroute"
method: Optional[Literal["GET"]]

The HTTP request method type.

enabled: bool
name: str
test_id: str
updated_at: Optional[str]
class RuleListResponse:
rules: Optional[List[Rule]]
id: str

API Resource UUID tag.

maxLength36
created_at: str
match: str
name: str
description: Optional[str]
targeted_tests: Optional[List[RuleTargetedTest]]
data: RuleTargetedTestData

The configuration object which contains the details for the WARP client to conduct the test.

host: str

The desired endpoint to test.

kind: Literal["http", "traceroute"]

The type of test.

One of the following:
"http"
"traceroute"
method: Optional[Literal["GET"]]

The HTTP request method type.

enabled: bool
name: str
test_id: str
updated_at: Optional[str]