Printago API
PATCH /v1/subscriptions/audit-logs

Configure audit logs

Enable or disable audit logging

Requires: audit.logs.configure

Request Body

SetAuditLogsEnabledRequest
enabledrequired
boolean

Example Request

application/json
{
  "enabled": true
}

Response Schema

Subscription
concurrencySlotsrequired
number
createdAtrequired
string
format: date-time
idrequired
string
pattern: ^[a-z0-9]{24}$
isCommercialrequired
boolean
planrequired
any
storeIdrequired
string
pattern: ^[a-z0-9]{24}$
termrequired
any
trialEndsAtrequired
string
updatedAtrequired
string
format: date-time

Example Response

200 OK — application/json
{
  "id": "string",
  "storeId": "string",
  "createdAt": "2026-08-24T03:58:56.436Z",
  "updatedAt": "2026-08-24T03:58:56.436Z"
}