Skip to main content
PUT
Update agent profile

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
name
string | null

Display name

Example:

"John Doe"

first_name
string | null

First name

Example:

"John"

last_name
string | null

Last name

Example:

"Doe"

email
string<email> | null

Email address

Example:

"agent@example.com"

contact_number
string | null

Contact phone number

Example:

"+11234567890"

dob
string<date> | null

Date of birth

Example:

"1990-05-15"

profile_photo
string | null

Base64 profile photo or file

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

agent_details
object | null

Nested agent detail fields

Response

200

Profile updated