OWASP API1 2023 No Numeric IDs (Edit)
Use random IDs that cannot be guessed. UUIDs are preferred but any other random string will do. Using numeric IDs can lead to enumeration attacks where attackers iterate through possible ID values.
OWASPSecurityIdentifiersOpenAPI