Team

Update Team Member

Update team member

Requires: admin role Cannot update own role or status Validates that user belongs to current user's organization

put/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

full_namestring nullable
job_titlestring nullable
phonestring nullable
rolestring nullable
statusstring nullable

Response

Successful Response

idstring required
emailstring required
full_namestring nullable required
job_titlestring nullable required
phonestring nullable required
rolestring required
statusstring required
email_verifiedboolean required
last_login_atstring date-time nullable required
login_countinteger required
created_atstring date-time required
updated_atstring date-time nullable required

Changes

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