Identity

Set the active workspace for the current session

Changed on

Validates membership, then sets the bk_active_ws httpOnly cookie. Supabase JWT is untouched.

post/api/v1/me/active-workspace

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/me/active-workspace
  • Auth: API key in cookie sb-fmbpikzpkafptqximhxn-auth-token

Request body

workspace_idstring uuid required

Response

Cookie set.

idstring uuid required
slugstring required
namestring required
rolestring nullable required

Changes

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status