PUT
/api/plugin_settings/{plugin_setting_id}/filesReplace files for a private plugin
Replaces the files for a private plugin using text content keyed by filename. Include settings.yml in files; any markup file you omit keeps its current content. This supports a settings-only import without saving a markup file.
plugin_setting_idintegerrequired
The ID of the plugin setting whose files to replace.
Files to import, provided as text content keyed by filename. Include settings.yml; omitted markup files keep their current content.
filesobjectrequired
An object mapping filenames to their text content. Include `settings.yml`.
200Returns the persisted settings data from a settings-only import; no markup file is saved through this operation.
dataobjectoptional
401Returned when the request is unauthorized.
errorstringoptional
404Returned when the plugin setting belongs to another user.
422Returned when `settings.yml` is missing or malformed.
Error handling
A 401 is returned when the request is unauthorized. A 404 is returned when the plugin setting belongs to another user. A 422 is returned when settings.yml is missing or malformed. The plugin_setting_id path parameter must identify a plugin setting you can access, and files must include settings.yml as text.