Skip to content

⏸️ Deactivate Solver

Endpoint: POST /api/admin/solvers/{id}/deactivate/
Auth Required: βœ… Yes (Admin Bearer Token)
Content-Type: application/json


πŸ“Œ Description

This endpoint allows an administrator to temporarily deactivate a solver account.

A deactivated solver: - cannot receive new complaint assignments - may retain login access (based on system configuration) - remains part of historical records

Deactivation is typically used when a solver is: - on leave - temporarily unavailable - reassigned to non-field duties


πŸ” Authentication

Include the admin access token in the request header:


πŸ”— Path Parameter

Parameter Type Required Description
id UUID βœ… Unique solver ID

🧾 Request Body (Optional)

```json { "remarks": "Deactivated due to temporary leave." }