organizations

Choose the organization's main workspace.

Organization admins only (403 organization_admin_required), on a browser session with a fresh proof in the x-50h-reauth header (401 reauth_required). It needs a person: API keys, connected apps and service accounts get 403 session_required. Every change is written to the organization's audit. The workspace auto-join, SCIM and single sign-on put people in by default. Only the owner of the current main workspace can choose (403 owner_required), or any admin once it is closed. A closed workspace cannot be chosen (409 workspace_closed).

put/v1/organizations/current/default-workspace

Request

  • Base URL: https://api.50heads.com
  • URL: https://api.50heads.com/v1/organizations/current/default-workspace
  • Auth: HTTP bearer

Request body

workspaceIdstring required

Response

OK

defaultWorkspaceIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.