/
Unblock User

ЕСОЗ - публічна документація

Unblock User

Specification

Apiary
PATCH mithril/api/users/{id}/actions/unblock
Scopeuser:unblock

Purpose

Unblock user (via Admin-console).

Request parameters

  • user_id
  • reason

Logic WS

  • Validate token & scope
  • Validate user id & user status (is_active)
  • Update user (set values) by $.user_id
    • is_blocked = FALSE
    • block_reason = $.reason
    • update_at = now()
  • Return 200

Response

  • 200 if user successful unblock  + user_object_view
  • 4xx in other case

Related content

Block User
Block User
More like this
3. Block/Unblock Users (не використовується)
3. Block/Unblock Users (не використовується)
Read with this
Create User
Create User
More like this
Unblock Medication request by Pharmacy User
Unblock Medication request by Pharmacy User
More like this
Enable User 2FA
Enable User 2FA
More like this
Private. Unblock Medication request
Private. Unblock Medication request
More like this

ЕСОЗ - публічна документація