Unsuspend user

POSThttps://app.speybooks.com/api/v1/admin/users/{id}/unsuspend

Reinstate a suspended or banned user. The suspension is cleared and the account can log in again. This works for both reversible suspensions and bans.

Returns 404 if the user is not found or is not currently suspended.

Sessions were ended at the time of suspension, so the user must log in afresh.

Records a USER_UNSUSPENDED action in the audit log.

Path parameters

idstringrequired
User ID. Must be currently suspended.

Response

200User reactivated.

Error codes

404User not found or not suspended.