user APIs
Create a directory
Create a directory for the logged in user
post/user/dirs
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- HTTP bearer
- or API key in header X-SFTPGO-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pathstring required
Path to the folder to create. It must be URL encoded, for example the path "my dir/àdir" must be sent as "my%20dir%2F%C3%A0dir"
mkdir_parentsboolean
Create parent directories if they do not exist?
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.