API Publishing, when enabled, allows for managing user access to a project's APIs.
To allow users to sign up for a basic authentication to access endpoints of a project, you need to first enable API publishing.
Within a project, select from the Home menu, select API Publishing.
In the Settings pane, set the Enable / Disable slider to On
You can now implement access roles and rate limits for the endpoints in a project.