Tenant Structures
List tenant structures for an account
client.zeroTrust.cws.tenantStructures.list(TenantStructureListParams { account_id, cursor, direction, 4 more } params, RequestOptionsoptions?): CursorPagination<TenantStructure { id, application, created_at, 3 more } >
GET/accounts/{account_id}/cws/tenant-structures
Get a tenant structure by ID
client.zeroTrust.cws.tenantStructures.get(stringstructureID, TenantStructureGetParams { account_id } params, RequestOptionsoptions?): TenantStructure { id, application, created_at, 3 more }
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}
Create a tenant structure
client.zeroTrust.cws.tenantStructures.create(TenantStructureCreateParams { account_id, application, name, import_path } params, RequestOptionsoptions?): TenantStructure { id, application, created_at, 3 more }
POST/accounts/{account_id}/cws/tenant-structures
Update a tenant structure
client.zeroTrust.cws.tenantStructures.update(stringstructureID, TenantStructureUpdateParams { account_id, application, name, import_path } params, RequestOptionsoptions?): TenantStructure { id, application, created_at, 3 more }
PUT/accounts/{account_id}/cws/tenant-structures/{structure_id}
Delete a tenant structure
client.zeroTrust.cws.tenantStructures.delete(stringstructureID, TenantStructureDeleteParams { account_id } params, RequestOptionsoptions?): TenantStructureDeleteResponse { id }
DELETE/accounts/{account_id}/cws/tenant-structures/{structure_id}
Tenant StructuresNodes
List nodes for a tenant structure
client.zeroTrust.cws.tenantStructures.nodes.list(stringstructureID, NodeListParams { account_id, cursor, direction, 6 more } params, RequestOptionsoptions?): CursorPagination<TenantStructureNode { id, created_at, native_id, 4 more } >
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes
Get a tenant node by ID
client.zeroTrust.cws.tenantStructures.nodes.get(stringnodeID, NodeGetParams { account_id, structure_id } params, RequestOptionsoptions?): TenantStructureNode { id, created_at, native_id, 4 more }
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Add a node to a tenant structure
client.zeroTrust.cws.tenantStructures.nodes.create(stringstructureID, NodeCreateParams { account_id, native_id, node_kind, 2 more } params, RequestOptionsoptions?): TenantStructureNode { id, created_at, native_id, 4 more }
POST/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes
Update a tenant node
client.zeroTrust.cws.tenantStructures.nodes.update(stringnodeID, NodeUpdateParams { account_id, structure_id, native_id, 3 more } params, RequestOptionsoptions?): TenantStructureNode { id, created_at, native_id, 4 more }
PUT/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Delete a tenant node
client.zeroTrust.cws.tenantStructures.nodes.delete(stringnodeID, NodeDeleteParams { account_id, structure_id } params, RequestOptionsoptions?): NodeDeleteResponse { id }
DELETE/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Apply a batch of tenant node mutations
client.zeroTrust.cws.tenantStructures.nodes.batch(stringstructureID, NodeBatchParams { account_id, creates, deletes, updates } params, RequestOptionsoptions?): NodeBatchResponse { created, deleted, updated }
POST/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/batch