v3

latestSwagger 2.02026-08-067506752.0 MB
content

Update an existing piece of content

patch/v1/org/{orgId}/content/{contentId}

Path parameters

orgIdstring required

Org identifier (either id or slug)

contentIdstring required

Content id

Request body

parentContentIdstring

parent content id in the hierarchy

titlestring

title of the content page

pathstring

full path to the content, if not set, defaults to an id/slug generated URL

imagePathstring

path to the image for the page

emojistring

emoji, if an emoji is used to represent the page

coverImagePathstring

path to the cover image for the content page

sensitive'GLOBAL' | 'ORG' | 'SENSITIVE' | 'PERSONAL' | 'MANAGER' | 'HIGH' | 'PRIVATE'

sensitivity level (ORG public, HIGHly sensitive, or PRIVATE)

status'DRAFT' | 'ACTIVE' | 'ARCHIVED'

current status of the content page

sortinteger

sort index within parent content

Example request

{
  "parentContentId": "588f7ee98f138b19220041a7",
  "title": "Benefits Policies",
  "path": "employee-info/benefits-policies",
  "imagePath": "path/to/image.jpg",
  "emoji": "💥",
  "coverImagePath": "path/to/image.jpg",
  "shareAccess": [
    {
      "userId": "5887a7718f138b6a2a0041a7",
      "groupId": "5887a7718f138b6a2a0041a7",
      "fields": "name,image,title"
    }
  ]
}

Response

content updated