Your question
Im trying to update quota and password of an existing account with the following request:
{
"using" : [ "urn:ietf:params:jmap:core", "urn:stalwart:jmap" ],
"methodCalls" : [ [ "x:Account/set", {
"update" : {
"b" : {
"quotas" : {
"maxDiskQuota" : 9437184,
"maxCalendars" : 2
},
"credentials" : [ {
"@Type" : "Password",
"secret" : "{crypt}$2a$12$xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
} ]
}
},
"0" : "a"
} ] ]
}
But I get a 400 Bad Request back:
{
"type" : "urn:ietf:params:jmap:error:notRequest",
"status" : 400,
"detail" : "{\"using\":[\"urn:ietf:params:jmap:core\",\"urn:stalwart:jmap\"],\"methodCalls\":[[\"x:Account/set\",{\"update\":{\"b\":{\"quotas\":{\"maxDiskQuota\":9437184,\"maxCalendars\":2},\"credentials\":[{\"@Type\":\"Password\",\"secret\":\"{crypt}$2a$12$xxxxxxxxxxxxxxxxxxxxxxx\"}]}},\"0\":\"a\"}]]}"
}
Any idea what (the hash is replaced with x for obvious reasons)?
Ralf
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on