Update an existing workspace.
(
&self,
slug: &str,
req: &UpdateWorkspaceRequest,
)
| 328 | |
| 329 | /// Update an existing workspace. |
| 330 | pub async fn update_workspace( |
| 331 | &self, |
| 332 | slug: &str, |
| 333 | req: &UpdateWorkspaceRequest, |
| 334 | ) -> Result<WorkspaceInfo, RemoteError> { |
| 335 | self.put(&format!("/workspaces/{}", slug), req).await |
| 336 | } |
| 337 | |
| 338 | /// Delete a workspace by slug. |
| 339 | pub async fn delete_workspace(&self, slug: &str) -> Result<(), RemoteError> { |