Sign in

Enable plugin

documented

Enable a plugin on the Discourse instance.

POST /admin/plugins.jsonAdminno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}/admin/plugins.json" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{DISCOURSE_API_USERNAME}}" \
  -d '{"plugin_id": "{{$plugin_id}}"}'