Skip to main content
Solved

How to clear profile_picture & profile_picture_data in IAM using Indicium's API?

  • June 5, 2025
  • 2 replies
  • 55 views

Marius Korff
Captain
Forum|alt.badge.img+6

 When POSTing, the following works:

"profile_picture": {
"FileName": "name",
"File": "file_data"
}

So setting a profile picture works. Now I’d like to remove/clear the profile picture of a user. I have tried the following JSON bodies in a PATCH, but none seem to work:

{"profile_picture": { "FileName": "", "File": "" }}
{"profile_picture": { "FileName": null, "File": null }}
{"profile_picture": null}
{"profile_picture": ""}
{"profile_picture": { "FileName": null }}
{"profile_picture": { "FileName": "" }}
{"profile_picture": { "File": "" }}
{"profile_picture": { "File": null }}
{"profile_picture_data": null}

How can I clear the columns ‘profile_picture’ & ‘profile_picture_data’ in the usr table in the IAM using a PATCH API call?

Best answer by Dick van den Brink

Hi Marius,

This looks like a bug in the Indicium API when POSTING directly, because it does work with resource staging.

Could you create a TCP ticket for this?

{"profile_picture": null} // This one should have worked

Regards,

Dick van den Brink

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+3

Hi Marius,

This looks like a bug in the Indicium API when POSTING directly, because it does work with resource staging.

Could you create a TCP ticket for this?

{"profile_picture": null} // This one should have worked

Regards,

Dick van den Brink


Forum|alt.badge.img+3

Hi,

This issue should be fixed in the next version of Indicium (2025.1.15.0). I expect this version to become available on 06/30/2025

Regards,

Dick van den Brink