Admin

Update Staff User

Changed on

Update a staff user's settings. Requires admin authentication.

patch/admin/staff/{user_id}

Request

  • Base URL: https://api.openintake.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.openintake.ai/admin/staff/{user_id}
  • Auth: none declared

Path parameters

user_idstring required

Request body

meeting_phone_numberstring nullable
voip_extensionstring nullable
user_type'admin' | 'staff' | 'referral_partner'

Enum for user types.

NOTE: SQLEnum(UserType) persists the member NAME, so each name must equal its value or writes break.

admin/staff are internal firm users with dashboard access. referral_partner is an EXTERNAL user (an outside referrer: an individual, organization, or attorney who sends the firm cases) whose only surface is the branded referral portal — see get_portal_user in app.auth.dependencies; get_user deliberately rejects this type so no internal endpoint is reachable.

Response

Successful Response

idstring required
meeting_phone_numberstring nullable
voip_extensionstring nullable
user_type'admin' | 'staff' | 'referral_partner' required

Enum for user types.

NOTE: SQLEnum(UserType) persists the member NAME, so each name must equal its value or writes break.

admin/staff are internal firm users with dashboard access. referral_partner is an EXTERNAL user (an outside referrer: an individual, organization, or attorney who sends the firm cases) whose only surface is the branded referral portal — see get_portal_user in app.auth.dependencies; get_user deliberately rejects this type so no internal endpoint is reachable.

messagestring required

Changes

    • warning

      added the new referral_partner enum value to the response property for the response status

    • info

      added the new referral_partner enum value to the request property /