Workspace Providers
List workspace providers
Returns the connections enabled in a workspace and the accounts it reads of each.
Needs a token with viewWorkspace on the workspace.
query Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredpageThe page to return, counted from 1. A page below 1 reads page 1; one past the last returns no items.
limitItems per page, from 1 to 100. A larger value is clamped to 100, a smaller one to 1.
List workspace providers › Responses
Success
Create workspace provider
Enables a connection in a workspace, for all its accounts or for the accounts listed. One connection can be enabled in several workspaces, each for its own accounts. Which accounts a workspace reads is the organization's to decide, so a workspace token cannot enable one.
Needs an organization token with addWorkspaceProvider and manageProviders.
Headers
Idempotency-KeyA unique value, at most 255 printable ASCII characters, such as a UUID, that makes retrying this create safe. A retry with the same key and the same request within 24 hours answers the first response again, marked Idempotent-Replayed: true, and creates nothing; the same key with another request answers 422 idempotency_key_reused. A key is kept only for a create that succeeded. Without it, every request creates.
Create workspace provider › Request Body
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredproviderId^prv_[A-Za-z0-9_-]{2… · requiredaccountIdsCreate workspace provider › Responses
Created
id^wpr_[A-Za-z0-9_-]{2… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredproviderId^prv_[A-Za-z0-9_-]{2… · requiredproviderNameisEnabledaccountIdsaddedAtGet workspace provider
Returns one connection enabled in a workspace and the accounts it reads.
Needs a token with viewWorkspace on the workspace.
path Parameters
workspaceProviderId^wpr_[A-Za-z0-9_-]{2… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredGet workspace provider › Responses
Success
id^wpr_[A-Za-z0-9_-]{2… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredproviderId^prv_[A-Za-z0-9_-]{2… · requiredproviderNameisEnabledaccountIdsaddedAtUpdate workspace provider
Turns a connection on or off in a workspace, or replaces the accounts it reads. Which accounts a workspace reads is the organization's to decide, so a workspace token can only turn the link on or off.
Needs a token with addWorkspaceProvider on the workspace unless the request only turns the link off, and removeWorkspaceProvider to turn it off. It also needs an organization token with manageProviders to send accountIds.
path Parameters
workspaceProviderId^wpr_[A-Za-z0-9_-]{2… · requiredUpdate workspace provider › Request Body
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredisEnabledaccountIdsUpdate workspace provider › Responses
Success
id^wpr_[A-Za-z0-9_-]{2… · requiredworkspaceId^wsp_[A-Za-z0-9_-]{2… · requiredproviderId^prv_[A-Za-z0-9_-]{2… · requiredproviderNameisEnabledaccountIdsaddedAtDelete workspace provider
Stops a workspace reading a connection. The connection and its cost stay; other workspaces that enable it are unaffected.
Needs a token with removeWorkspaceProvider on the workspace.
path Parameters
workspaceProviderId^wpr_[A-Za-z0-9_-]{2… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredDelete workspace provider › Responses
No Content