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
Override the api version used for api requests made by this command |
‑‑description | ‑d | Type: Value
New description for the project. |
‑‑flags‑dir | N/A | Type: Value
Import flag values from a directory. |
‑‑is‑active | N/A | Type: Boolean
Set the project active status. Use –is-active to activate or –no-is-active to deactivate. |
‑‑json | N/A | Type: Boolean
Format output as json. |
‑‑name | ‑n | Type: Value
New name for the project. |
‑‑project‑id | ‑i | Type: Value Required
ID of the DevOps Center project to update. |
‑‑target‑org | ‑o | Type: Value Required
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:
1sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --name "MyApp Release v2"
Update the description of a project:
1sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --description "Updated release description"
Deactivate a project:
1sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active
Update all fields at once:
1sf devops project update --target-org my-devops-org --project-id 1Qg000000000001 --name "Archived App" --description "Archived" --no-is-active