Skip to main content
PUT
Update file (deprecated — use PATCH)

Authorizations

Authorization
string
header
required

Bearer an mk_live_ API key. A key is ORG-SCOPED: it grants full access to every resource in that organization, with no per-endpoint scoping (see the uid pseudo-permission on each operation). Manage keys at https://app.mymarky.ai.

Headers

Marky-Version
enum<string>

Opt into a dated API version. Omit to stay on the floor (2026-04-08) forever — unpinned clients never break. Pin to a newer date (e.g. 2026-08-06) to receive the newest response shapes. Unknown values fall back to the floor. See https://docs.mymarky.ai for the versioning model.

Available options:
2026-04-08,
2026-07-17,
2026-08-02,
2026-08-04,
2026-08-06
Example:

"2026-08-06"

Path Parameters

business_id
string
required

A UUID identifier.

file_id
string
required

A UUID identifier.

Body

application/json
name
string | null

New file name

content
string | null

New markdown content

Response

Successful Response

id
string
required

File ID

business_id
string
required

Business this file belongs to

name
string
required

File name

path
string
required

Full file path

created_at
string
required

When the file was created

body_text
string | null

Markdown content

parent_id
string | null

Parent folder ID

media
MediaResponse · object[]

Attached media

updated_at
string | null

Last update time