user APIs
Set metadata for a file/directory
Set supported metadata attributes for the specified file or directory
patch/user/files/metadata
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
Full file/directory path. It must be URL encoded, for example the path "my dir/àdir/file.txt" must be sent as "my%20dir%2F%C3%A0dir%2Ffile.txt"
Request body
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.