Skip to content
SoulFire LogoSoulFire

Generate WebDAV token

POST
/v1/client/tokens/webdav:generate

Generates a new JWT token specifically for WebDAV authentication. The generated token has the "webdav" audience and can only be used for WebDAV access.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Response Body

Response containing a newly generated WebDAV authentication token.

application/json
  1. response

Response containing a newly generated WebDAV authentication token.

token*string

A JWT token with "webdav" audience that can be used to authenticate WebDAV requests. This token should be included in the Authorization header when accessing the WebDAV endpoint.

Example Request
curl -X POST 'http://127.0.0.1:38765/v1/client/tokens/webdav:generate'
Example Response
{
  "token": "string"
}

Was this page helpful?