Organization SSO

Disable directory sync

Disable directory sync for the organization. Non-admin directory members are removed.

Authorization

A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

Service Token Accesses manage_sso

OAuth Scopes

ResourceScopes
Organizationmanage_sso
delete/organizations/{organization}/sso/directory

Path parameters

organizationstring required

Organization name slug from list_organizations. Example: acme.

Response

Returns organization SSO status after disabling directory sync

type'OrganizationSSO' required

The resource type

idstring required

The organization ID

enabledboolean required

Whether the SSO add-on is enabled for the organization

configuredboolean required

Whether an identity provider connection is active

directoryboolean required

Whether directory sync is enabled

has_verified_domainboolean required

Whether the organization has at least one verified email domain

domain_verification_urlstring nullable required

URL to open for verifying an email domain, returned when SSO is enabled

Changes