/
Block User
ЕСОЗ - публічна документація
Block User
Specification
Apiary | |
PATCH | mithril/api/users/{id}/actions/block |
Scope | user:block |
Purpose
Unblock user (via Admin-console).
Request parameters
- user_id
- reason
Logic WS
- Validate token & scope
- Validate user id
- Update user (set values) by $.user_id
- is_blocked = TRUE
- block_reason = $.reason
- update_at = now()
- Return 200
Response
- 200 if user successful block + user_object_view
- 4xx in other case
, multiple selections available,
Related content
Unblock User
Unblock User
More like this
2FA Data model
2FA Data model
Read with this
Create User
Create User
More like this
Deprecated.Confirm user invite
Deprecated.Confirm user invite
Read with this
[Transferred] Block Medication request by Pharmacy User
[Transferred] Block Medication request by Pharmacy User
More like this
Create employee request v2
Create employee request v2
Read with this
ЕСОЗ - публічна документація