Skip to Content
Docs

Change a wiki's settings (owner only, manage_settings)

PUT
/api/sources/{source_id}/wiki/settings

Change a wiki's settings (owner only, manage_settings). Body: {"allow_outside_edits": bool}: whether runs from an agent's API key or widget may edit the wiki.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

source_id*string

Response Body

Success

Example Request
curl -X PUT 'http://localhost:7091/api/sources/string/wiki/settings'
Example Response200
Empty