Update an existing project.
(
&self,
workspace_slug: &str,
project_slug: &str,
req: &UpdateProjectRequest,
)
| 378 | |
| 379 | /// Update an existing project. |
| 380 | pub async fn update_project( |
| 381 | &self, |
| 382 | workspace_slug: &str, |
| 383 | project_slug: &str, |
| 384 | req: &UpdateProjectRequest, |
| 385 | ) -> Result<ProjectInfo, RemoteError> { |
| 386 | self.put( |
| 387 | &format!("/workspaces/{}/projects/{}", workspace_slug, project_slug), |
| 388 | req, |
| 389 | ) |
| 390 | .await |
| 391 | } |
| 392 | |
| 393 | /// Delete a project by slug. |
| 394 | pub async fn delete_project( |