From 111df2e8d39d83918f39272285e78d5fc2937a08 Mon Sep 17 00:00:00 2001 From: Amanda VS Date: Fri, 20 Oct 2023 17:25:04 -0400 Subject: [PATCH] microsite removal (#10322) * microsite removal added public false and redirect for this microsite since it is still in the sitemap * missing comma * wrong brackets :/ --- articles/microsites/call-api/call-api-m2m-app.md | 1 + config/redirects.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/articles/microsites/call-api/call-api-m2m-app.md b/articles/microsites/call-api/call-api-m2m-app.md index 51dcd34287..5f8d1154f5 100644 --- a/articles/microsites/call-api/call-api-m2m-app.md +++ b/articles/microsites/call-api/call-api-m2m-app.md @@ -3,6 +3,7 @@ title: Call Your API from a Machine-to-Machine App description: Everything you need to know to call your API from your machine-to-machine (M2M) app ctaText: Go to Quickstart ctaLink: /docs/quickstart/backend +public: false template: microsite topics: - authentication diff --git a/config/redirects.js b/config/redirects.js index 6c91d0509b..cf4a11ca08 100644 --- a/config/redirects.js +++ b/config/redirects.js @@ -959,6 +959,11 @@ const redirects = [ }, /* MICROSITES */ + { + from: ['/microsites/call-api/call-api-m2m-app'], + to: '/get-started/authentication-and-authorization-flow/client-credentials-flow', + + }, /* ARCHITECTURE SCENARIOS */