Update an existing project.
(
&self,
workspace_slug: &str,
project_slug: &str,
req: &UpdateProjectRequest,
)
| 346 | |
| 347 | /// Update an existing project. |
| 348 | pub async fn update_project( |
| 349 | &self, |
| 350 | workspace_slug: &str, |
| 351 | project_slug: &str, |
| 352 | req: &UpdateProjectRequest, |
| 353 | ) -> Result<ProjectInfo, RemoteError> { |
| 354 | self.put( |
| 355 | &format!("/workspaces/{}/projects/{}", workspace_slug, project_slug), |
| 356 | req, |
| 357 | ) |
| 358 | .await |
| 359 | } |
| 360 | |
| 361 | /// Delete a project by slug. |
| 362 | pub async fn delete_project( |