0

I want to delete ocp-apim-trace location once api call made in APIM policy. Please suggests.enter code here

Jessica
  • 167
  • 2
CHIRAG LADDHA
  • 29
  • 1
  • 5
  • Usually this is not a problem, because the it's onyl available for administrators: _[AZURE.NOTE] API Inspector traces are only generated and made available for requests containing subscription keys that belong to the administrator account._ https://github.com/uglide/azure-content/blob/master/articles/api-management/api-management-howto-api-inspector.md – Markus Meyer Oct 16 '19 at 03:28
  • Headers in general can be removed by using the policy: – K.J.M.O. Oct 30 '22 at 10:35

1 Answers1

0

This header is added to response only if call is made with subscription key belonging to admin AND if request had OCP-APIM-Trace: True header. So it will be absent for normal requests.

Vitaliy Kurokhtin
  • 7,205
  • 1
  • 19
  • 18