Reset the credentials of a DBaaS Redis user
If no password is provided one will be generated automatically.
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
. -
Minimum length is
1
, maximum length is64
.
PUT /dbaas-redis/{service-name}/user/{username}/password/reset
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/dbaas-redis/{service-name}/user/{username}/password/reset \
-H "Content-Type: application/json" \
-d '{"password":"string"}'
Request examples
{
"password": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}