From e2c49984f1d053985321e63d74a44e906a686437 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 9 Mar 2022 15:59:41 -0800 Subject: [PATCH] Update API link and page name --- content/rancher/v2.6/en/api/_index.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/content/rancher/v2.6/en/api/_index.md b/content/rancher/v2.6/en/api/_index.md index a4b56bd9478..d6f903d0bdd 100644 --- a/content/rancher/v2.6/en/api/_index.md +++ b/content/rancher/v2.6/en/api/_index.md @@ -5,7 +5,22 @@ weight: 24 ## How to use the API -The API has its own user interface accessible from a web browser. This is an easy way to see resources, perform actions, and see the equivalent cURL or HTTP request & response. To access it, click on your user avatar in the upper right corner. Under **API & Keys**, you can find the URL endpoint (`https:///v3`) as well as create [API keys]({{}}/rancher/v2.6/en/user-settings/api-keys/). +The API has its own user interface accessible from a web browser. This is an easy way to see resources, perform actions, and see the equivalent cURL or HTTP request & response. To access it: + +{{% tabs %}} +{{% tab % "Rancher v2.6.4+" %}} + +1. Click on your user avatar in the upper right corner. +1. Click **Account & API Keys**. +1. Under the **API Keys** section, find the **API Endpoint** field and click the link. The link will look something like `https:///v3`, where `` is the fully qualified domain name of your Rancher deployment. + +{{% /tab %}} +{{% tab "Rancher before v2.6.4" %}} + +Go to the URL endpoint at `https:///v3`, where `` is the fully qualified domain name of your Rancher deployment. + +{{% /tab %}} +{{% /tabs %}} ## Authentication