Skip to main content

Delete Test Design Result (v1)

Method & Path

DELETE /api/v1/workspace/:workspaceId/labs/tests/:testId/design-result

Actual backend path: /v1/workspace/:workspaceId/labs/tests/:testId/design-result

Description

Soft-delete the test design result for a given test ID.

Authentication

Required: JWT token in Authorization header

Persona Access:

  • Workspace Owner: Allowed
  • Staff: Allowed (role-based)

Required Permissions:

  • labs.manage

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier (MongoDB ObjectId)
testIdnumberYesNumeric test ID

Response 204 No Content

No response body.

Common Errors

401 Unauthorized: Missing or invalid authentication token

403 Forbidden: Insufficient permissions (labs.manage required)

404 Not Found: Workspace not found, or design result not found

422 Validation Error: Invalid workspace ID or invalid test ID