Update an existing workspace.
(
&self,
slug: &str,
req: &UpdateWorkspaceRequest,
)
| 296 | |
| 297 | /// Update an existing workspace. |
| 298 | pub async fn update_workspace( |
| 299 | &self, |
| 300 | slug: &str, |
| 301 | req: &UpdateWorkspaceRequest, |
| 302 | ) -> Result<WorkspaceInfo, RemoteError> { |
| 303 | self.put(&format!("/workspaces/{}", slug), req).await |
| 304 | } |
| 305 | |
| 306 | /// Delete a workspace by slug. |
| 307 | pub async fn delete_workspace(&self, slug: &str) -> Result<(), RemoteError> { |