Skip to main content
Solved

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

  • June 5, 2025
  • 1 reply
  • 26 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

View original
Did this topic help you find an answer to your question?

1 reply

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings