HFS 3
  1. plugins
HFS 3
  • Introduction
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
      • update account
      • list accounts
      • delete account
      • list usernames
      • get account
      • list admins
      • safer update of the password
    • VFS
    • plugins
      • get plugin config
        GET
      • set plugin config
        POST
    • monitoring
    • log
  1. plugins

set plugin config

POST
/~/api/set_plugin
you can also call this with POST

Request

Body Params application/json
id
string 
required
config
object 
required
content depends on the plugin
Example
{
    "id": "string",
    "config": {}
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost/~/api/set_plugin' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "string",
    "config": {}
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-05-30 14:11:36
Previous
get plugin config
Built with