Not all fields on the model are returned by default - you can request specific fields with a string that looks something like ',Account.'. Note: the shape of the returned object may not match the model in this library if this string does not start with '*' as shown.
The response body.
Update the profile belonging to the provided user's uid and access token.
const client = new OutsetaApiClient({
subdomain: 'test-company',
accessToken: jwt_user_token
});
const response = await client.user.profile.update({
Uid: 'DQ2DyknW',
FirstName: 'Jane',
LastName: 'Doe'
});
console.log(response);
The profile fields and values to update. Must include the user's uid.
The response body if response status OK, or response body with validation errors if response status 400.
Generated using TypeDoc
Get the profile belonging to the provided user's access token.
Response If the server returns a non-"OK" status, the whole response object will be thrown.