Basic-auth credentials
Get a Basic-auth credential associated with a Consumer
Changed onGet a Basic-auth credential associated with a Consumer using ID.
get/{workspace}/consumers/{ConsumerIdForNestedEntities}/basic-auth/{BasicAuthId}
Request
- Base URL: http://localhost:8001
- URL: http://localhost:8001/{workspace}/consumers/{ConsumerIdForNestedEntities}/basic-auth/{BasicAuthId}
- Auth: API key in header Kong-Admin-Token
Path parameters
ConsumerIdForNestedEntitiesstring required
Consumer ID for nested entities
BasicAuthIdstring required
ID of the Basic-auth credential to lookup
workspacestring required
Example:team-payments
The name of the workspace
Response
Successfully fetched Basic-auth credential
Example response
{
"consumer": {
"id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
},
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"password": "hashedsoopersecretvalue",
"username": "darius"
}Changes
- warning
the response required property
became not write-only for the status
- warning
- info
endpoint added
- info