@@ -128,6 +128,19 @@ def delete_organization(self, organization_id: str) -> SyncOrAsync[None]:
128128 """
129129 ...
130130
131+ def delete_organization_domain (
132+ self , organization_domain_id : str
133+ ) -> SyncOrAsync [None ]:
134+ """Deletes a single Organization Domain
135+
136+ Args:
137+ organization_domain_id (str): Organization Domain unique identifier
138+
139+ Returns:
140+ None
141+ """
142+ ...
143+
131144
132145class Organizations (OrganizationsModule ):
133146 _http_client : SyncHTTPClient
@@ -239,6 +252,12 @@ def delete_organization(self, organization_id: str) -> None:
239252 method = REQUEST_METHOD_DELETE ,
240253 )
241254
255+ def delete_organization_domain (self , organization_domain_id : str ) -> None :
256+ self ._http_client .request (
257+ f"organization_domains/{ organization_domain_id } " ,
258+ method = REQUEST_METHOD_DELETE ,
259+ )
260+
242261 def list_organization_roles (self , organization_id : str ) -> RoleList :
243262 response = self ._http_client .request (
244263 f"organizations/{ organization_id } /roles" ,
@@ -358,6 +377,12 @@ async def delete_organization(self, organization_id: str) -> None:
358377 method = REQUEST_METHOD_DELETE ,
359378 )
360379
380+ async def delete_organization_domain (self , organization_domain_id : str ) -> None :
381+ await self ._http_client .request (
382+ f"organization_domains/{ organization_domain_id } " ,
383+ method = REQUEST_METHOD_DELETE ,
384+ )
385+
361386 async def list_organization_roles (self , organization_id : str ) -> RoleList :
362387 response = await self ._http_client .request (
363388 f"organizations/{ organization_id } /roles" ,
0 commit comments