Configure a plugin Run in API Explorer

POST /plugins/{name}/set

Path parameters

  • name string Required

    The name of the plugin. The :latest tag is optional, and is the default if omitted.

application/json

Body

array[string] array[string]

Responses

  • 204

    No error

  • 404 application/json

    Plugin not installed

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

  • 500 application/json

    Server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

POST /plugins/{name}/set
curl \
 --request POST 'http://api.example.com/v1.44/plugins/{name}/set' \
 --header "Content-Type: application/json" \
 --data '["DEBUG=1"]'
Request examples
[
  "DEBUG=1"
]
Response examples (404)
{
  "message": "Something went wrong."
}
Response examples (404)
{
  "message": "Something went wrong."
}
Response examples (500)
{
  "message": "Something went wrong."
}
Response examples (500)
{
  "message": "Something went wrong."
}