POST
/dbaas-valkey/{service-name}/user
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/dbaas-valkey/{service-name}/user' \
--header "Content-Type: application/json" \
--data '{"username":"string","access-control":{"categories":["string"],"channels":["string"],"commands":["string"],"keys":["string"]}}'
Request examples
{
"username": "string",
"access-control": {
"categories": [
"string"
],
"channels": [
"string"
],
"commands": [
"string"
],
"keys": [
"string"
]
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}