Update client portal settings
Updates a Client's portal preset, incident visibility, report visibility and export setting.
PUT https://app.upfour.io/v1/clients/{clientID}/portal-settings
Parameters
| Field | Type | Description |
|---|---|---|
clientID required | uuid | path parameter |
Body
The 3 fields most calls use come first; the rest are grouped below.
presetstring
compact and transparent set all switches themselves and ignore the ones sent; custom takes them as sent. Empty means compact.
compacttransparentcustom
In the app: Portal view
show_reportsboolean
The report views. With preset custom and this off, the report switches below are stored off.
In the app: Reports
allow_report_exportboolean
In the app: Report downloads
Incident visibility1 fields
show_incidentsboolean
In the app: Incidents
Report visibility4 fields
show_report_downtimeboolean
In the app: Downtime evidence
show_report_incidentsboolean
In the app: Incident analytics
show_report_response_timeboolean
In the app: Response time
show_report_slaboolean
In the app: Service levels
Request metadata2 fields
client_iduuid
Taken from the path on update.
updated_atstring (date-time)
Ignored on update.
Returns
A successful request returns 200 with application/json.
Response fields 1 top-level fields
| Field | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | ClientPortalSettingsResponse | ||||||||||||||||||||||||||||||||||
ClientPortalSettingsResponse · 10 fields
| |||||||||||||||||||||||||||||||||||
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or fails validation. |
| 404 | not_found | The requested resource does not exist or is outside the caller's scope. |
| 403 | permission_denied | The credentials do not permit this action. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.