import styled from "styled-components"; import { LandingLayout, Flex, H1, H2, H3, H4, Typography, } from "@redocly/developer-portal/ui"; import { theme } from "../../../../theme"; import InlineCodeBlock from "../../../../components/InlineCodeBlock.tsx"; # Get started updating a subproject using Node.js Occassionally, you may need to update the details of a subproject using the Subproject API. This guide will walk you through how to update all details of your previously created subproject. embed :::info Steps: 1. [Set up](#set-up-your-nodejs-application) your Node.js application. 2. [Update](#update-your-subproject) your subproject. ::: embed ## Update your subproject Now, we'll customize and run the code that will update your subproject. ### Fill in your parameters 1. Assign your values to the following parameters: | Parameter | Your value | | --- | --- | | `YOUR_subprojectId` | The subproject ID that you would like to update. | | `displayName` | The display name of the subproject is replaced by providing a new one. | | `labels` | Update any label key:value pairs. You can assign new values to current keys or add entirely new pairs. | 1. Save the file. 2. Execute the code and create your first subproject. Run the following command: ```shell node index.mjs ``` ## Next steps Check out our full [API reference](/docs/subproject/api-reference) for more subproject options.