Operations for the PipesProvider API.
Summary
Functions
@spec list_organization_data_integration_configurations( WorkOS.Client.t(), String.t(), keyword() ) :: {:ok, WorkOS.DataIntegrationConfigurationListResponse.t()} | {:error, WorkOS.Error.error()}
List providers for an organization
Returns a list of all providers available to the specified organization, along with any configured custom OAuth scopes, enabled state, and organization-managed credentials where applicable.
Parameters
organization_id— An Organization identifier to list provider configurations for.opts— per-request options (seeWorkOS.Client.request/5)
@spec update_organization_data_integration_configuration( WorkOS.Client.t(), String.t(), String.t(), map(), keyword() ) :: {:ok, WorkOS.DataIntegrationConfigurationResponse.t()} | {:error, WorkOS.Error.error()}
Configure a provider for an organization
Creates or updates an organization's provider configuration. Use this endpoint to enable or disable a provider, set custom OAuth scopes, or supply organization-managed OAuth credentials.
Parameters
organization_id— An Organization identifier to configure the provider for.slug— The slug identifier of the provider to configure (e.g.,github,slack,notion).params— request body mapopts— per-request options (seeWorkOS.Client.request/5)