PUT/api/v1/workspaces/{workspace_id}/dashboard-default

Set the workspace's default Home

Workspace owners and admins: the Home members see until they customize their own (main and side, or a preset, whose team and page are filled in for each member). A widget a member can't use isn't shown to them.

API token required30 per minute per IP
Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

Request body

#

application/json, required

  • mainarray of object

    Up to 16 items.

    3 fields inside
    • idstring

      Kept when it's a short id; new widgets get one. Up to 12 characters.

    • typestringRequired

      One of the catalog's types (GET returns the catalog). Up to 40 characters.

    • settingsobject

      The type's settings: team, folder, page, count, category, status, range.

  • sidearray of object

    Up to 16 items.

    3 fields inside
    • idstring

      Kept when it's a short id; new widgets get one. Up to 12 characters.

    • typestringRequired

      One of the catalog's types (GET returns the catalog). Up to 40 characters.

    • settingsobject

      The type's settings: team, folder, page, count, category, status, range.

  • presetstring

    Up to 20 characters.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?