Delete a component
Soft-delete a lab component by setting it to inactive. The component record is preserved for historical reference.
Soft-delete a lab component by setting it to inactive. The component record is preserved for historical reference.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Component ID
Response Body
application/json
curl -X DELETE "https://example.com/components/550e8400-e29b-41d4-a716-446655440000"{ "component": { "id": "string", "labId": "string", "name": "string", "isActive": true, "sortOrder": 0, "createdAt": "string", "updatedAt": "string" }}Empty
Empty
Empty
Empty