PUT/api/v1/workspaces/{workspace_id}/folders/{folder_id}

Update a folder

Renames a folder, or moves it with parent_id and reparent: true.

API token required60 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.

  • folder_idstringRequired

    The folder's id, from List folders.

Request body

#

application/json, required

  • namestring

    1–80 characters.

  • parent_idstring
  • reparentboolean

    Default false.

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.
200 response: 8 fields (FolderResponse)
  • idstring
  • workspace_idstring
  • namestring
  • parent_idstring | null
  • created_atstring (date-time)

    ISO 8601, for example 2026-11-30T12:00:00Z.

  • updated_atstring (date-time)

    ISO 8601, for example 2026-11-30T12:00:00Z.

  • slugstring

    Default "".

  • patharray of string
Did this page help?