Skip to content

upsertReportPin

WRITE

Upsert report pin.

POST /api/v1/accounting/upsertReportPin
curl -X POST '<your-host>/api/v1/accounting/upsertReportPin' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "reportKey": "string",
    "pinned": true
  }'

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "reportKey": {
      "type": "string"
    },
    "pinned": {
      "type": "boolean"
    }
  },
  "required": [
    "reportKey",
    "pinned"
  ]
}