Skip to navigation

createDirectorySetupLink

Creates a link to the WorkOS Admin Portal, where an admin connects the caller’s organization to its identity provider’s directory. The link is short-lived, so create it when the admin asks for it. Requires the ORGANIZATION_ADMIN role action.

Returns

a CreateDirectorySetupLinkResponse
CreateDirectorySetupLinkResultCreateDirectorySetupLinkResult
OR
AccessDeniedErrorAccessDeniedError
Indicates that access to a resource was denied.