Skip to content

Update EasySecure user photo.

POST/api/easysecure/users/{id}/photo

The gdprConsent property of the ESUser needs to be set to true before calling this endpoint. The user needs to be presented with a GDPR approval form first before uploading any photo to EasySecure.The request body needs to be a multipart request. The photo should be added as a part with the name file. Only photos with extensions JPG and PNG can be uploaded to EasySecure.

  • idnumberrequired
Required
No
Content type
  • multipart/form-data
  • filestringoptional

Schema shown for 200 · application/json