v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB
Domains

Delete Domain

Permanently removes a domain record from an organization.

  • Deleting an ORGANIZATION_DOMAIN disables SSO routing/enforcement for that domain.
  • Deleting an ALLOWED_EMAIL_DOMAIN stops organization suggestions for users with that email domain.
delete/api/v1/organizations/{organization_id}/domains/{id}

Path parameters

organization_idstring required

Scalekit-generated unique identifier for the organization. Use either this or external_id to identify the organization.

idstring required

Scalekit-generated unique identifier of the domain to be permanently deleted.

Response

Domain successfully deleted.

{"stackTrail":"paths:/api/v1/organizations/{organization_id}/domains/{id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}