Update a content

Updates an existing content. Only the fields you include in the request body are modified — omitted fields remain unchanged. Updating a published content does **not** unpublish it. To change status, use the dedicated publish/archive endpoints.

Required permissions
contents.update
PUT/contents/{id}
Base URLhttps://api.lynkow.com/v1

Path parameters

idstringrequired

Unique identifier

Request bodyrequired

  • bodyobject

    Rich text content as TipTap JSON

    • metaobject

      Additional metadata

      • slugstring

        URL-friendly identifier, unique per site and locale. 1-500 characters

      • typeenum

        Resource type. One of: post

        One of: post

      • titlestring

        Display title. 1-500 characters

      • statusenum

        One of: draft, published, archived, scheduled

        One of: draftpublishedarchivedscheduled

      • tagIdsarray<string>

        Array of strings

      • excerptstring

        Short summary for previews

      • ogImagestring

        Open Graph image URL for social sharing. Max 1000 characters

      • keywordsstring

        Comma-separated SEO keywords. Max 500 characters

      • authorUrlunion
      • metaTitlestring

        Custom meta title for SEO. Max 255 characters

      • authorNameunion
      • customDataunion

        Custom fields data (structured content)

      • categoryIdsarray<string>

        Min 1 character. Array of strings

      • faqSettingsobject

        FAQ detection and JSON-LD settings

        • disabledIdsarray<string>
      • jsonLdGrapharray<object>

        Max 50 characters. Array of objects

        • idstring
        • dataanyrequired
        • typestringrequired
        • sourceenum

          One of: presetcustom

      • scheduledAtstring

        Scheduled publication datetime (ISO 8601)

      • bodyMarkdownstring

        Content as Markdown (converted to TipTap JSON on save)

      • canonicalUrlstring

        Canonical URL override. Max 1000 characters

      • displayOrdernumber

        Number

      • featuredImagestring

        Featured image URL

      • metaDescriptionstring

        Meta description for search engines. Max 500 characters

      • jsonLdExclusionsarray<string>

        Max 50 characters. Array of strings

      Feedback

      Was this page helpful?