Links
Comment on page

Get My Accounts

Retrieves the user's webdav accounts.
URL
Requires Auth
HTTP Method
/api/v1/webdav.getMyAccounts
yes
GET

Example call to get all the roles

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/webdav.getMyAccounts

Example Result

{
"accounts": [
{
"_id": "P3Gru7ocFCd4vpKEs",
"server_url": "http://localhost:8080/remote.php/webdav/",
"username": "admin",
"name": "Webdav account"
}
],
"success": true
}

Change Log

Version
Description
2.4.0
Added
Last modified 1yr ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.