Delete workspace
DELETE/orgs/:orgId/workspaces/:workspaceId
Deletes the workspace identified by the given workspaceId
.
Request
Path Parameters
orgId int64required
Organization numeric identifier
workspaceId int64required
Workspace numeric identifier
Responses
- 204
- 400
- 403
OK - No content
Bad request
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://docs.seqera.io/orgs/:orgId/workspaces/:workspaceId");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());