POST/api/plugin_settings/{id}/debug_logs

Turn on debug logs for a day

A private plugin then records the request and response of each fetch for 24 hours; read them with getPluginSettingLogs.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
idstringrequired
Plugin setting id or uuid

4 status codes
200Debug logs enabled
dataobjectoptional
401Unauthorized
errorstringoptional
404Plugin setting belongs to another user
422Only a private plugin records debug logs

Error handling

A 401 is returned: Unauthorized. A 404 is returned: Plugin setting belongs to another user. A 422 is returned: Only a private plugin records debug logs.