--- title: "Update a published article" slug: "how-to-update-a-published-article" updated: 2025-06-12T07:20:32Z published: 2025-06-12T07:22:11Z canonical: "apidocs.document360.com/how-to-update-a-published-article" --- > ## Documentation Index > Fetch the complete documentation index at: https://apidocs.document360.com/llms.txt > Use this file to discover all available pages before exploring further. # Update a published article You can use Document360’s API to update and publish an existing article. This allows you to automate article versioning and content updates. To update a published article, follow these steps: 1. Retrieve the article ID. 2. Fork the article. 3. Update the article content. 4. Publish the article. --- ## Prerequisites for updating an article Before you update an article, complete the following authorization steps in Postman. ### Authorization To authorize requests in Postman, make sure your API token is added and the appropriate Base URL is set. 1. Click **Document360 Customer API** in the category tree. 2. In the Postman **Workbench**, go to the **Variables** tab. 3. In the **Variables** tab, check the **Initial** and **Current** values of the `baseUrl` variable. This value should already be set to `https://apihub.document360.io`. If not, update both fields accordingly. 4. Add a new variable for your API token. For example, name it `api_token`. Paste your API token from Document360 into both the **Initial value** and **Current value** fields. 5. Go to the **Authorization** tab and enter the variable you created in the **Value** field. For example, enter `{{api_token}}` if your variable is named `api_token`. [Embedded content](https://www.floik.com/embed/6c8153d2-2726-4c62-b723-2bd209ff8c39/3274f00b-9839-480d-a29c-9a0ab11cb84f-flo.html) Once you've completed these steps, you're ready to start using Document360 APIs in **Postman**. ## Updating an article using Document360’s API To update an article, you need the following values: - Project version ID - Article ID - User ID ### Get project version ID To update an article using the API, you need to associate it with the correct version of your documentation project. This step helps you retrieve that version ID. 1. In Postman, under **Document360 Customer API**, expand **v2 > Project Versions**. 2. Click **Gets list of project versions**, then click **Send**. 3. In the response body (as shown in the screenshot), locate the `id` of the version you want to use. > [!NOTE] > NOTE > > If you're unsure which one to choose, look for the version marked with `"is_current": true`. 4. Copy the `id` value and save it for later use. [Embedded content](https://www.floik.com/embed/6c8153d2-2726-4c62-b723-2bd209ff8c39/2f86e398-bc89-4ac3-9bfd-ee024115c9d2-flo.html) > [!NOTE] > NOTE > > In Document360, the order of categories and articles is based on the paths defined in the API specification files rather than tags. The first tag in the path determines the first category, with all endpoints mapped to that tag grouped accordingly. ### Get article ID To update an article, you need the ID of the article to be added. Follow these steps to retrieve it using Postman: 1. Under **Project Versions**, expand **{projectVersionId}**, then go to **articles** > **Gets list of articles within project version**. 2. Once you click **Gets list of articles within project version**, switch to the **Params** tab. 3. In the **Path Variables** section, enter the project version ID you copied in step 4 of the previous section. 4. In the **Query Params** section, provide the following values: - `langCode`:`en` 5. Click **Send**. 6. In the response body, locate the `id` value of the article you want to update. 7. Copy the `id` and save it for later use. > [!TIP] > PRO TIP > > If you're not sure which article to use, look for the `"name"` field in the response to identify familiar article names. ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/1_Screenshot-Gets_list_of_articles_within_project_version.jpg) ### Get user ID To update an article using the API, you also need to provide the user ID of the team member creating the article. 1. In Postman, under **v2**, expand **Teams**, then click **Get all team accounts**. 2. Click **Send** to retrieve the list of all team members in the project. 3. In the response body, locate the desired user and copy the `id` value. > [!TIP] > PRO TIP > > If you're not sure which user to pick, look at fields like `"email_id"`, `"portal_role"`, or `"last_name"` to identify the appropriate account. [Embedded content](https://www.floik.com/embed/6c8153d2-2726-4c62-b723-2bd209ff8c39/7046554c-2bf3-4dff-969f-c10ba8c88bab-flo.html) --- ## Fork the article Forking creates a new editable version of the article. To fork an article, 1. Under **v2**, expand **Articles** > **{article Id}** > **fork**, and click **Forks an article with an ID.** 2. In the **Params** tab, enter the `articleId`. ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/2_Screenshot-Forks_an_article_with_an_id.jpg) 1. In the **Body** tab, enter the following parameters: - `lang_code`: The language code (e.g., `"en"`) - `user_id`: Paste the user ID - `version_number`: The version number to fork (e.g., `3` to fork version 3) ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/3_Screenshot-Forks_an_article_with_an_id_body_tab.jpg) 1. Click **Send** and a new article version is created. --- ## Update the article To update the forked article, 1. Under **v2**, expand **Articles** > **{article Id}** > **{lang Code}** and click **Updates an article with the ID.** 2. In the **Params** tab, provide values for `articleId` and `langCode` (`en` by default). ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/4_Screenshot-Updates_an_article_with_an_id_params_tab.jpg) 1. In the **Body** tab, update the following parameters: - **Required**: - `title`: Enter the article title. - `category_id`: Paste the category ID. - `version_number`: Enter the version number being updated. - **Based on editor type**: - `content`: Add Markdown content (only if using the Markdown editor). - `html_content`: Add HTML content (only if using WYSIWYG editor). - Optional: - `hidden`: Set to true or false to hide/show the article. - `translation_option`: Set to `0` (None), `1` (Needs translation), or `2` (Translated). - `source`: Optional note for reference. ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/5_Screenshot-Updates_an_article_with_an_id_body_tab.jpg) 1. Click **Send**. If successful, you’ll receive a `200 OK` status and `"success": true` in the response. > [!TIP] > PRO TIP > > Make sure you remove parameters you don’t want to update. Any values present in the request will overwrite the corresponding fields in the article. --- ## Publish the article To publish the updated version, you’ll need the `article_id`, `user_id`, and `version_number`. 1. Under **v2**, expand **Articles** > **{articleId}** > **publish** and click **Publishes an article with an ID**. 2. In the **Params** tab, provide values for `articleId` and `langCode` (`en` by default). ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/6_Screenshot-Publish_an_article_with_id_params_tab.jpg) 1. In the **Body** tab, provide the following: - `user_id`: Paste the user ID. - `version_number`: Specify the version number to publish. - `publish_message`: Enter a short message describing the update. ![](https://cdn.document360.io/2b5c503e-f283-4987-b5a8-2b71b454ecec/Images/Documentation/7_Screenshot-Publish_an_article_with_id_body_tab.jpg) 1. Click **Send**. If successful, you’ll receive a `200 OK` status and `"success": true`.