Update the authenticated user's own profile
PUT
/api/profile
const url = 'https://example.com/api/profile';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"fullName":"Sarah Jenkins","phone":"+17045550199"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/profile \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fullName": "Sarah Jenkins", "phone": "+17045550199" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
fullName
required
Full legal or preferred name of the individual.
string
Example
Sarah Jenkinsphone
E.164 formatted contact phone number.
string
Example
+17045550199Responses
Section titled “Responses”Profile updated successfully
Media typeapplication/json
object
id
required
Unique identifier (UUID v4) for the resource.
string format: uuid
email
required
Primary email address.
string
fullName
required
Full legal or preferred name of the individual.
string
phone
E.164 formatted contact phone number.
string
Example
{ "id": "a1b2c3d4-e5f6-7890-abcd-1234567890ab", "email": "admin@dreamcenterconnect.com", "fullName": "Sarah Jenkins", "phone": "+17045550199"}Unauthorized