Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Change a help collection

PATCHhttps://app.notert.io/api/v1/help-collections/{id}

Changes a collection, as the Edit collection dialog does: its name, the line under it, its icon or the end of its address on the board. What you leave out stays, and readers see the change on the board at once. A new address keeps the old one working, sending readers on to it; one another collection holds is SLUG_TAKEN. Where it is changed but can't be read back for the answer, the answer holds its id alone, and the list reads the rest.

A token with help:write. How to send one

Request

curl -X PATCH https://app.notert.io/api/v1/help-collections/c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02 \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Billing",
  "description": "Invoices, receipts and plans",
  "icon": "folder",
  "slug": "billing"
}'

Response 200

{
  "id": "c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02",
  "name": "Getting started",
  "description": "Set up your workspace",
  "slug": "getting-started"
}

Path parameters

  • idstringRequired

    The collection's id.

    At most 64 characters.

Body

  • namestring

    Its name now.

    At least 1 character. At most 60 characters.

  • descriptionstring

    The line under its name now. Empty for none.

    At most 200 characters.

  • iconstring

    The icon its card shows now.

    One offolderrocketsettingsdatabasemessage-circlebook-opencredit-carduserscodezapshieldglobeplugbellchart-columnlife-buoysparkleslayout-dashboardwrenchkey-roundmailsmartphonepalettelightbulb
  • slugstring

    The end of its address on the board, such as billing.

    At least 1 character. At most 60 characters.

Response 200

  • idstring

    The collection's id.

  • namestring

    The collection's name.

  • descriptionstring

    The line under its name.

  • slugstring

    The part of its address on the help center that names it.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings.
  • 403INSUFFICIENT_SCOPEThis API token can't draft and change help articles. Create one that may in the workspace's settings.
  • 403NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 404NOT_FOUNDNot Found.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409SLUG_TAKENAnother collection's address already ends that way. Pick another.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.