Workspace

Switch active workspace

Switch the active workspace to a team you belong to. Provide the team_id (graph team id). The server verifies your membership before switching and returns the newly active workspace. This is a persistent change to the account: it re-scopes every later Village call and also changes the active workspace in the Village web app until switched back. Fails with 403 if you are not a member of the target team.

patch/v2/workspace/switch

Request

  • Base URL: https://api.village.ai
  • URL: https://api.village.ai/v2/workspace/switch
  • Auth: HTTP bearer

Request body

team_idstring required

Response

Active workspace switched successfully

Changes

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