Libraries

Update a library.

Changed on

Updates the name or description of an existing library identified by name.

Renaming a library changes the URL segment used to address it; subsequent requests must use the new name.

put/api/v1/orgs/{orgId}/libraries/{name}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring required
namestring required

Request body

namestring required

New human-readable library name.

descriptionstring nullable

Optional library description.

includeFiltersstring[] nullable

Org-level include path globs. null leaves the existing value unchanged (e.g. when editing a plain local library); an empty array explicitly clears it. Ignored for a library with no repository source. Never changes the repository URL/kind — delete and recreate the library to change the source.

excludeFiltersstring[] nullable

Org-level exclude path globs. Same null-vs-empty semantics as string[]? UpdateLibraryRequest.IncludeFilters.

runFullResyncboolean

When true for a Notion-sourced library, schedules a full resync to apply filter changes to already-ingested pages. Filter edits alone never imply this destructive backstop.

Response

OK

idstring required

Stable library identifier.

namestring required

Human-readable library name.

descriptionstring nullable required

Optional library description.

createdAtstring date-time required

Timestamp when the library was created.

updatedAtstring date-time required

Timestamp when the library was last updated.

Changes

    • breaking

      the response property ///// became nullable for the status

    • info

      added the new optional request property

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status