Update the API endpoint that your app is calling. For example, to use the latest preview, target:
https://{endpoint}/formrecognizer/v2.1-preview.1/custom/models/{modelId}/analyze[?includeTextDetails]
or for release version
https://{endpoint}/formrecognizer/v2.0/custom/models/{modelId}/analyze[?includeTextDetails]
If you need alternate API endpoints, the latest release version documentation is at:
https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2/operations/AnalyzeWithCustomForm