devops project update

<!-- prettier-ignore-start -->

Update a DevOps Center project.

Description for devops project update

Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.

Flags

Flag Name (Long) Flag Name (Short) Description
<code>‑‑api‑version</code> N/A Type: Value<br><br>Override the api version used for api requests made by this command
<code>‑‑description</code> <code>‑d</code> Type: Value<br><br>New description for the project.
<code>‑‑flags‑dir</code> N/A Type: Value<br><br>Import flag values from a directory.
<code>‑‑is‑active</code> N/A Type: Boolean<br><br>Set the project active status. Use --is-active to activate or --no-is-active to deactivate.
<code>‑‑json</code> N/A Type: Boolean<br><br>Format output as json.
<code>‑‑name</code> <code>‑n</code> Type: Value<br><br>New name for the project.
<code>‑‑project‑id</code> <code>‑i</code> Type: Value<br>Required<br><br>ID of the DevOps Center project to update.
<code>‑‑target‑org</code> <code>‑o</code> Type: Value<br>Required<br><br>Username or alias of the target org. Not required if the target-org configuration variable is already set.

Examples for devops project update

Rename a project:

sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --name "MyApp Release v2"

Update the description of a project:

sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --description "Updated release description"

Deactivate a project:

sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active

Update all fields at once:

sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --name "Archived App" --description "Archived" --no-is-active
<!-- prettier-ignore-end -->