Basic-auth credentials
Create a new Basic-auth credential associated with a Consumer
Create a new Basic-auth credential associated with a Consumer
post/{workspace}/consumers/{ConsumerIdForNestedEntities}/basic-auth
Path parameters
ConsumerIdForNestedEntitiesstring required
Consumer ID for nested entities
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"password": "hashedsoopersecretvalue",
"username": "darius"
}Response
Successfully created Basic-auth credential
Example response
{
"consumer": {
"id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
},
"id": "b2f34145-0343-41a4-9602-4c69dec2f269",
"password": "hashedsoopersecretvalue",
"username": "darius"
}