Hatch

Change a workspace’s rules. Owners and admins.

On this page

PATCH/api/workspaces/{workspace}

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • workspace string (required)

Request body

  • requireTwoStep boolean
  • insideOnly boolean
  • activityDays integer

Response

200: It worked

  • settings WorkspaceSettings (required)

    • requireTwoStep boolean (required): Members need two-step sign-in to open its vaults
    • insideOnly boolean (required): Vaults and the workspace can only be shared with its verified email domains
    • activityDays integer (required): Days its activity is kept

Other answers:

  • 4XX: Refused, with a message to show the person