Update Profile via API
This method allows you to update the profile of the currently authenticated user.
Tip: You can explore and test this endpoint interactively using our OpenAPI documentation.
URL
/profile
HTTP Method
PUT
Supported Parameters
All parameters are wrapped in a user key.
first_name- Your first name (optional)last_name- Your last name (optional)email_address- Your email address (optional)time_zone- Your preferred time zone (optional)alphabetic_sort- Whether to sort items alphabetically in the UI (optional, boolean)
Example cURL Request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-X PUT \
-d '{ \
"user": { \
"first_name": "John", \
"last_name": "Smith", \
"time_zone": "America/New_York" \
} \
}' \
https://test.deployhq.com/profile
Example Response
{
"status": "ok"
}
Notes
- Only the fields you include in the request will be updated
- You cannot change your own permissions or administrator status through this endpoint
- If you change your email address, you may need to verify the new address