## Leave Organization `user.organizations.delete(strorganization_id) -> OrganizationDeleteResponse` **delete** `/user/organizations/{organization_id}` Removes association to an organization. ### Parameters - `organization_id: str` Identifier ### Returns - `class OrganizationDeleteResponse: …` - `id: Optional[str]` Identifier ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_email=os.environ.get("CLOUDFLARE_EMAIL"), # This is the default and can be omitted api_key=os.environ.get("CLOUDFLARE_API_KEY"), # This is the default and can be omitted ) organization = client.user.organizations.delete( "023e105f4ecef8ad9ca31a8372d0c353", ) print(organization.id) ``` #### Response ```json { "id": "023e105f4ecef8ad9ca31a8372d0c353" } ```