Delete Test Group (v1)
Method & Path
DELETE /api/v1/workspace/:workspaceId/labs/test-groups/:testGroupId
Actual backend path: /v1/workspace/:workspaceId/labs/test-groups/:testGroupId
Description
Delete (soft delete) a test group. This sets the deletedAt timestamp but does not permanently remove the record.
Authentication
Required: JWT token in Authorization header
Required Permissions:
labs.manage
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace identifier (MongoDB ObjectId) |
testGroupId | string | Yes | Test group identifier (MongoDB ObjectId) |
Response 204 No Content
No response body.
Common Errors
- 401 Unauthorized: Missing or invalid authentication token
- 403 Forbidden: Insufficient permissions (requires
labs.manage) - 404 Not Found: Workspace or test group not found
- 500 Internal Server Error: Server error