Team
Update Team Member Role
Role-only update — the proxy target for the Next.js PATCH /api/team/members/[id]. Admin-only, last-admin-demote guard, audit log, and the exact {success, message, member:{id, role}} response shape the FE contract expects.
patch/api/team/{user_id}
Request
- Base URL: https://api.thebetterhire.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.thebetterhire.ai/api/team/{user_id}
- Auth: HTTP bearer
Path parameters
user_idstring uuid required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.