Skip to main content
PUT
/
api
/
plugins
/
{name}
Update Plugin
curl --request PUT \
  --url http://localhost:8080/api/plugins/{name} \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "config": {}
}
'
{
  "message": "Plugin updated successfully",
  "plugin": {
    "id": 123,
    "name": "<string>",
    "enabled": true,
    "path": "<string>",
    "isCustom": true,
    "version": 123,
    "config": {},
    "status": {
      "isLoaded": true,
      "errorMessage": "<string>"
    },
    "config_hash": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

name
string
required

Body

application/json
enabled
boolean
config
object

Response

200 - application/json

Plugin updated successfully

message
string
Example:

"Plugin updated successfully"

plugin
object