Profile
Update user profile
Changed onUpdate the authenticated user's profile with fields defined by ProfileUpdate (name, organization, address, country, VAT number, other tax ID, etc.). Email is not editable here.
The optional other tax ID is printed on new invoices, without tax verification or any effect on VAT.
Behavior
- Only whitelisted fields from ProfileUpdate are applied.
Response Returns the updated profile.
patch/profile
Request
- Base URLhttps://api.leakradar.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"country": "US",
"first_name": "John",
"last_name": "Doe",
"organization": "Acme Inc"
}Response
User profile updated successfully.
Changes
- info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status
- info