This is an automated email from the ASF dual-hosted git repository.
moonming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 4a9d5d567 clarify Credential name field description and fix typos
(#13837)
4a9d5d567 is described below
commit 4a9d5d5679eeb52fb9d0d7a753eb1ead84adb509
Author: okaybase <[email protected]>
AuthorDate: Fri Nov 6 17:27:47 2026 +0800
clarify Credential name field description and fix typos (#13837)
---
docs/en/latest/admin-api.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index c1123fa0b..c2fd0d9a6 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -917,17 +917,17 @@ Credential resource request
address:/apisix/admin/consumers/{username}/credent
| Method | Request URI | Request Body | Description
|
| ------
|----------------------------------------------------------------|--------------|------------------------------------------------|
-| GET | /apisix/admin/consumers/{username}/credentials |
NUll | Fetches list of all credentials of the Consumer |
-| GET | /apisix/admin/consumers/{username}/credentials/{credential_id} |
NUll | Fetches the Credential by `credential_id` |
-| PUT | /apisix/admin/consumers/{username}/credentials/{credential_id} |
{...} | Create or update a Creddential |
-| DELETE | /apisix/admin/consumers/{username}/credentials/{credential_id} |
NUll | Delete the Credential |
+| GET | /apisix/admin/consumers/{username}/credentials |
NULL | Fetches list of all credentials of the Consumer |
+| GET | /apisix/admin/consumers/{username}/credentials/{credential_id} |
NULL | Fetches the Credential by `credential_id` |
+| PUT | /apisix/admin/consumers/{username}/credentials/{credential_id} |
{...} | Create or update a Credential |
+| DELETE | /apisix/admin/consumers/{username}/credentials/{credential_id} |
NULL | Delete the Credential |
### Request Body Parameters
| Parameter | Required | Type | Description
| Example |
| ----------- |-----| -------
|------------------------------------------------------------|-------------------------------------------------|
| plugins | False | Plugin | Auth plugins configuration.
| |
-| name | False | Auxiliary | Identifier for the Credential.
| credential_primary |
+| name | False | Auxiliary | Name of the Consumer Credential.
| credential_primary |
| desc | False | Auxiliary | Description of usage scenarios.
| credential xxxx |
| labels | False | Match Rules | Attributes of the Credential
specified as key-value pairs. |
{"version":"v2","build":"16","env":"production"} |