Start here. This is the direct spoken answer to practice first.
Why this question matters
IDOR is one of the most practical API security bugs: the caller changes an id and accesses another user's data.
An IDOR happens when the API accepts a resource id and returns or changes that resource without checking whether the caller is allowed to access it. The fix is not just using GUIDs. The API must check ownership, tenant membership, role, or capability against the resource before returning data or applying changes.