Skip to content
API Reference

Delete

organizations.service_accounts.delete(strservice_account_id, ServiceAccountDeleteParams**kwargs)
DELETE/organizations/{organization_id}/service-accounts/{service_account_id}

Delete a service account

ParametersExpand Collapse
organization_id: str

Organization ID or label identifier

minLength1
maxLength255
service_account_id: str

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

minLength1
maxLength255
x_client_request_id: Optional[str]
formatuuid

Delete

from keycardai_api import KeycardAPI

client = KeycardAPI()
client.organizations.service_accounts.delete(
    service_account_id="ab3def8hij2klm9opq5rst7uvw",
    organization_id="x",
)
Returns Examples