How to make the auto generated ID unique values not auto incremented

Thanks for your response @DMehaffy.

That’s not ideal.

I am not an expert in API designs, however, it feels like incremental id’s are a bad idea in an authenticated setting, users might just be able to change an id (to the next incremental value) and view information that they were not meant to see. I am sure you have probably thought of this, hence, is there a better design pattern I should employ? if so, could you give a brief example for completeness.

thanks!
DW

1 Like