Update an existing project.
(
&self,
workspace_slug: &str,
project_slug: &str,
req: &UpdateProjectRequest,
)
| 319 | |
| 320 | /// Update an existing project. |
| 321 | pub async fn update_project( |
| 322 | &self, |
| 323 | workspace_slug: &str, |
| 324 | project_slug: &str, |
| 325 | req: &UpdateProjectRequest, |
| 326 | ) -> Result<ProjectInfo, RemoteError> { |
| 327 | self.put( |
| 328 | &format!("/workspaces/{}/projects/{}", workspace_slug, project_slug), |
| 329 | req, |
| 330 | ) |
| 331 | .await |
| 332 | } |
| 333 | |
| 334 | /// Delete a project by slug. |
| 335 | pub async fn delete_project( |