Hi! I'm trying to update the user avatar using a PUT request on user-person. The body is as follows: { 'avatar': { 'uuid': 'INSERT UUID HERE' } }
Is it even possible to update the avatar this way? Please let me know :)
Angelo Did you first upload the avatar image via the /attachment-public endpoint (https://doc.bunq.com/#/attachment-public/CREATE_AttachmentPublic)? And then POST the new uuid to the /avatar endpoint (https://doc.bunq.com/#/avatar/CREATE_Avatar) ?
/attachment-public
/avatar
Bastiaan Yup, post attachment public with png file (success, got uuid) -> post avatar with uuid from attachment public (success, also got uuid) -> put user-person with 'avatar': { 'uuid': 'UUID HERE' } (fail!!)