
views.py
About this file
The user routes for a 'user_id' are handled using different request parameters like title, number, address; and restrictions.
Code Check Report
app/user/views.py:107:121: E501 line too long (142 > 120 characters) app/user/views.py:137:121: E501 line too long (121 > 120 characters) app/user/views.py:276:121: E501 line too long (124 > 120 characters) app/user/views.py:311:121: E501 line too long (122 > 120 characters)
Documentation drawn from source code
patch(user_id):
Request Parameters:- title- organization- email- phone_number- fax_number- mailing_address- is_super- is_agency_active- is_agency_admin(Mailing Address)- zip- city- state- address_one- address_twoRestrictions:- Anonymous Users- cannot access this endpoint- Agency Administrators- cannot change their agency status- can only update the agency status of users within their agency- cannot change any super user status- Super Users- cannot change their super user status- Agency Users- cannot change any user except for themselves or*anonymous* requesters for requests they are assigned to- cannot change super user or agency status- Public Users- can only update themselves- cannot change super user or agency status