Create a new workspace.
(
&self,
req: &CreateWorkspaceRequest,
)
| 283 | |
| 284 | /// Create a new workspace. |
| 285 | pub async fn create_workspace( |
| 286 | &self, |
| 287 | req: &CreateWorkspaceRequest, |
| 288 | ) -> Result<WorkspaceInfo, RemoteError> { |
| 289 | self.post("/workspaces", req).await |
| 290 | } |
| 291 | |
| 292 | /// Get a single workspace by slug. |
| 293 | pub async fn get_workspace(&self, slug: &str) -> Result<WorkspaceInfo, RemoteError> { |