# devops project update

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                                                                                                                                         |
| ---------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`  | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                                          |
| `--description`  | `-d`              | **Type:** Value<br><br>New description for the project.                                                                                             |
| `--flags-dir`    | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                         |
| `--is-active`    | N/A               | **Type:** Boolean<br><br>Set the project active status. Use --is-active to activate or --no-is-active to deactivate.                                |
| `--json`         | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                     |
| `--name`         | `-n`              | **Type:** Value<br><br>New name for the project.                                                                                                    |
| `--project-id`   | `-i`              | **Type:** Value<br>**Required**<br><br>ID of the DevOps Center project to update.                                                                   |
| `--target-org`   | `-o`              | **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:

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

Update the description of a project:

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

Deactivate a project:

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

Update all fields at once:

```shell
sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --name "Archived App" --description "Archived" --no-is-active
```
