Skip to content

βœ… Activate User

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


πŸ“Œ Description

This endpoint allows an administrator to activate a user account that was previously deactivated.

Once activated, the user regains full access to platform features according to their role (citizen or solver).

Activation is commonly used when: - a temporary restriction has ended - a user’s behavior has been reviewed - a suspended account is restored


πŸ” Authentication

Include the admin access token in the request header:


πŸ”— Path Parameter

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

🧾 Request Body (Optional)

```json { "remarks": "User access restored after review." }