Leave workspace
DELETE/orgs/:orgId/workspaces/:workspaceId/participants
Removes the requesting user from the given workspace.
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
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Authorization': 'Bearer <token>'
}
conn.request("DELETE", "/orgs/:orgId/workspaces/:workspaceId/participants", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))