Delete a project by slug.
(
&self,
workspace_slug: &str,
project_slug: &str,
)
| 333 | |
| 334 | /// Delete a project by slug. |
| 335 | pub async fn delete_project( |
| 336 | &self, |
| 337 | workspace_slug: &str, |
| 338 | project_slug: &str, |
| 339 | ) -> Result<(), RemoteError> { |
| 340 | self.delete(&format!( |
| 341 | "/workspaces/{}/projects/{}", |
| 342 | workspace_slug, project_slug |
| 343 | )) |
| 344 | .await |
| 345 | } |
| 346 | |
| 347 | // ----------------------------------------------------------------------- |
| 348 | // Identity resolution |