patients

Restore users by ids: undo deletion or cancel deletion request

Admin only. Inverse of /patients/delete-by-user-ids. For each user UUID: if the user was deleted (deleted_at set), re-enables the Keycloak account, sets enabled=True and clears deleted_at and deletion_requested_at; At most 50 IDs per request. Users with nothing to restore are skipped.

post/api/patients/restore-by-user-ids

Request body

user_idsstring[] required

Response

Successful Response

{"stackTrail":"paths:/api/patients/restore-by-user-ids:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.