Skip to main content

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

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier (MongoDB ObjectId)
testGroupIdstringYesTest group identifier (MongoDB ObjectId)
testIdstringYesTest 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