Skip to content
Docs
Organizations

Delete organization by ID or label

Delete organization by ID or label

organizations.delete(strorganization_id, OrganizationDeleteParams**kwargs)
DELETE/organizations/{organization_id}

Deletes the organization and all zones.

ParametersExpand Collapse
organization_id: str

Organization ID or label identifier

minLength1
maxLength255
x_client_request_id: Optional[str]
formatuuid

Delete organization by ID or label

import os
from keycardai_api import KeycardAPI

client = KeycardAPI(
    api_key=os.environ.get("KEYCARD_API_API_KEY"),  # This is the default and can be omitted
)
client.organizations.delete(
    organization_id="x",
)
Returns Examples