When creating or modifying APIs, always provide comprehensive documentation for authentication methods and prerequisites. For each authentication approach:

  1. Clearly state all supported authentication methods with explicit code examples
  2. Document the exact permissions required for each method
  3. Highlight any limitations or differences between authentication approaches
  4. Specify all prerequisite APIs or services that need to be enabled
  5. Include configuration requirements for billing and resource allocation

For example:

### Authentication Methods

#### Service Principal Authentication
```console
prowler microsoft365 --sp-env-auth

Browser Authentication

prowler microsoft365 --browser-auth --tenant-id "XXXXXXXX"

Prerequisites

Complete authentication documentation helps users successfully implement your API while avoiding unexpected permission issues or missing dependencies.