Get WebDAV Accounts
    • Dark
      Light
    • PDF

    Get WebDAV Accounts

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/webdav.getMyAccounts

    Retrieves the user's WebDAV accounts.

    Changelog

    VersionDescription
    2.4.0Added
    Header parameters
    X-Auth-Token
    stringRequired

    The authorization token of the user.

    Example9HqLlyZOugD_0YdwAJF8V47U3QHXSq
    X-User-Id
    stringRequired

    The user ID of the user.

    ExampleaobEdbYhXfu5hkeqG
    Responses
    200
    Success Example
    {
      "accounts": [
        {
          "_id": "P3Gru7ocFCd4vpKEs",
          "server_url": "http://localhost:8080/remote.php/webdav/",
          "username": "admin",
          "name": "Webdav account"
        }
      ],
      "success": true
    }
    Expand All
    object
    accounts
    Array of object
    object
    _id
    string
    server_url
    string
    username
    string
    name
    string
    success
    boolean
    401

    Unauthorized

    Authorization Error
    {
      "status": "error",
      "message": "You must be logged in to do this."
    }
    object
    status
    string
    message
    string

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.