From 6a8aa254e3127a261a3e48b918ba3ecdcd486aaa Mon Sep 17 00:00:00 2001 From: Rohit Agarwal Date: Tue, 10 Nov 2026 23:36:22 +0530 Subject: [PATCH] fix: use /api-keys (hyphen) in retrieve and delete curl examples Co-Authored-By: Claude Sonnet 5.5 --- openapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index d852e8e3..931562a1 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -19398,12 +19398,12 @@ paths: - lang: curl label: Default source: | - curl -X GET "https://api.portkey.ai/v1/api_keys/{id}" \ + curl -X GET "https://api.portkey.ai/v1/api-keys/{id}" \ -H "x-portkey-api-key: PORTKEY_API_KEY" - lang: curl label: Self-Hosted source: | - curl -X GET "SELF_HOSTED_CONTROL_PLANE_URL/api_keys/{id}" \ + curl -X GET "SELF_HOSTED_CONTROL_PLANE_URL/api-keys/{id}" \ -H "x-portkey-api-key: PORTKEY_API_KEY" - lang: python label: Self-Hosted @@ -19495,12 +19495,12 @@ paths: - lang: curl label: Default source: | - curl -X DELETE "https://api.portkey.ai/v1/api_keys/{id}" \ + curl -X DELETE "https://api.portkey.ai/v1/api-keys/{id}" \ -H "x-portkey-api-key: PORTKEY_API_KEY" - lang: curl label: Self-Hosted source: | - curl -X DELETE "SELF_HOSTED_CONTROL_PLANE_URL/api_keys/{id}" \ + curl -X DELETE "SELF_HOSTED_CONTROL_PLANE_URL/api-keys/{id}" \ -H "x-portkey-api-key: PORTKEY_API_KEY" - lang: python label: Self-Hosted