Change a view of the client portal
Changes a view of the client portal. The update is partial -- a field the body does not carry keeps its value -- with one exception worth reading twice: report_keys and user_keys REPLACE the stored lists, they do not add to them, and neither may end up empty. A view whose reports are filtered globally by something other than nothing is refused with 409 NOT_EDITABLE_BY_API: this version could not show that filter in the before and after. The confirmation is CONDITIONAL, and it is the PRESENCE of a field that triggers it: a body carrying report_keys, user_keys or send_notification asks for a confirmation even when the values it sends are the ones already stored, and so does any call that would email somebody. Refusals: the same as the creation, plus NOT_EDITABLE_BY_API. if_version is not accepted.
Every write endpoint reads dry_run and idempotency_key; see the Write guarantees section of the introduction.
Request
- Base URL: https://api.reportingninja.com/v1
- URL: https://api.reportingninja.com/v1/portal-views/update
- Auth: HTTP bearer
Request body
Response
The call succeeded. This endpoint reports its errors with a real HTTP status, so a 200 always carries status=ok.
Changes
No recorded changes to this operation across all 1 revision of this API.