Enterprise

Get workspace sharing settings for organization

Changed on
get/api/v2/organizations/{organization}/settings/workspace-sharing

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/organizations/{organization}/settings/workspace-sharing
  • Auth
    API key in header Coder-Session-Token

Path parameters

organizationstring uuid required

Organization ID

Response

OK

shareable_workspace_owners'none' | 'everyone' | 'service_accounts'
sharing_disabledboolean

SharingDisabled is deprecated and left for backward compatibility purposes. Deprecated: use ShareableWorkspaceOwners instead

sharing_globally_disabledboolean

SharingGloballyDisabled is true if sharing has been disabled for this organization because of a deployment-wide setting.

Changes