Authorization: Bearer ********************
{
"name": "new account",
"uri": "cloudreve://my/002i8OT6osgrXrQEqPp1mMqB9UfxjB0q",
"proxy": true,
"readonly": true
}
curl --location --request PATCH '/devices/dav/YnCp' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "new account",
"uri": "cloudreve://my/002i8OT6osgrXrQEqPp1mMqB9UfxjB0q",
"proxy": true,
"readonly": true
}'
0
- Success.{
"code": 0,
"data": {
"id": "YnCp",
"created_at": "2025-06-13T13:43:14+08:00",
"name": "new account",
"uri": "cloudreve://my/002i8OT6osgrXrQEqPp1mMqB9UfxjB0q",
"password": "kkf138mdipcwghkodndepu6sjasn9q0j",
"options": "Aw=="
},
"msg": ""
}