Remove Test from Group (v1)
Method & Path
DELETE /api/v1/workspace/:workspaceId/labs/test-groups/:testGroupId/tests/:testId
Actual backend path: /v1/workspace/:workspaceId/labs/test-groups/:testGroupId/tests/:testId
Description
Remove a test from a test group.
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) |
testId | string | Yes | Test ID (number as string) |
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, test group not found, or test is not in this group
- 500 Internal Server Error: Server error