跳转到内容
AsterDrive Developer Docs开发者

test_webdav_connection

POST
/api/v1/webdav-accounts/test
curl --request POST \
--url https://example.com/api/v1/webdav-accounts/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "password": "example", "username": "example" }'
Media typeapplication/json

Test WebDAV credentials.

object
password
required
string
username
required
string
Examplegenerated
{
"password": "example",
"username": "example"
}

Connection successful

Invalid credentials