Authentication

Set My Default Workspace

Allow user to set their own default workspace. This endpoint is accessible to all authenticated users.

Args: workspace_org_id: The workspace org_id to set as default confirm: Must be True to confirm the action (CSRF protection)

post/api/auth/set_my_default_workspace

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/auth/set_my_default_workspace
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Request body

workspace_org_idstring required
confirmboolean required

Response

Successful Response

unknown required

Changes

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