api
api
auth

Update My Credentials

Joriy foydalanuvchi login (email) va/yoki parolini o'zgartiradi.

Paroli bor hisob uchun current_password majburiy.

patch/api/v1/auth/me/credentials

Request

  • Base URL: https://www.faroz.uz (the document declares no server; this is the origin it was published from)
  • URL: https://www.faroz.uz/api/v1/auth/me/credentials
  • Auth: HTTP bearer

Request body

emailstring email nullable
current_passwordstring nullable
new_passwordstring nullable

Response

Successful Response

idinteger required
emailstring required
namestring nullable
second_namestring nullable
third_namestring nullable
phonestring nullable
phone_verification_statusstring
phone_rejection_reasonstring nullable
skillsinteger[]
admin_permissionsAdminPermission[]
is_activeboolean required
created_atstring date-time required
has_passwordboolean
has_googleboolean

Changes

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