Skip to main content

Delete Test Profile (v1)

Method & Path​

DELETE /api/v1/workspace/:workspaceId/labs/test-profiles/:testProfileId

Actual backend path: /v1/workspace/:workspaceId/labs/test-profiles/:testProfileId

Description​

Delete a test profile from the workspace. This performs a soft delete.

Authentication​

Required: JWT token in Authorization header

Required Permissions:

  • labs.manage

Headers​

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token: Bearer <token>

Path Parameters​

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier (MongoDB ObjectId)
testProfileIdstringYesTest profile identifier (MongoDB ObjectId)

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: Test profile or workspace not found

422 Validation Error: Invalid workspace ID or test profile ID format