ado_wiki_update_page
Create or update an Azure DevOps wiki page with markdown content. Optionally use an etag for optimistic concurrency to prevent overwriting concurrent edits.
Instructions
Create or update an Azure DevOps wiki page at the specified path. If the page does not exist it will be created; if it exists it will be updated. To prevent overwriting concurrent edits, pass the etag returned by ado_wiki_get_page as the etag input — the update will fail with a conflict error if the page changed since. Omit etag to do an unconditional overwrite. Returns the updated page content and its new etag. Requires vso.wiki_write PAT scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ETag from a previous ado_wiki_get_page call. Enables optimistic concurrency: the update is rejected if another edit happened since the page was read. | |
| path | Yes | Wiki page path (e.g. /MyPage or /Parent/Child) | |
| wikiId | Yes | Wiki ID (GUID) or wiki name | |
| content | Yes | Markdown content for the wiki page | |
| message | No | Optional commit message for the page update | |
| project | No | Project name. Uses default if omitted. |