API Design · Middle · Question 7 of 75

Why might an API use UUIDs or opaque string IDs instead of auto-increment integers in URLs?

Explanation

Opaque IDs are not a security measure by themselves; authorization checks are still required on every access.

Further reading

Problem with a question

API Design · Middle · question 7

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz