Frederik (Frits) van Drie - detail_strings and DELETE method

Started by Frederik (Frits) van Drie on Thursday, January 9, 2025

The Situation:
detail_strings defines strings un multiple languages. Using the API i created an about_me string below the 'en-us' key.

POST https://www.geni.com/api/profile/update?detail_strings[en-us][about... is about me'

POST https://www.geni.com/api/profile/update?detail_strings[en-US][about... is about US'

However this seems to be case-insensitive and exist beside an existing 'en-US' key with uppercase.

GET https://www.geni.com/api/profile?fields=detail_strings # this show both subkeys: 'en-us' and 'en-US' including 'about_me'

The problem:
Both keys exist and can be updated using the API, but i cannot load or edit my profile using the webpage anymore.

My Question:
How do i remove an existing key like: detail_strings[en-us][

I tried:

POST https://www.geni.com/api/profile/update?detail_strings[en-us][about... # which cleared the 'en-us'

POST https://www.geni.com/api/profile/delete?detail_strings[en-us][about... # Access denied

POST https://www.geni.com/api/profile/delete?detail_strings[en-us] # Access denied

POST https://www.geni.com/api/profile/update?detail_strings[en-us] # Nothing happens

Create a free account or login to participate in this discussion