Skip to main content
PUT
curl

Authorizations

Authorization
string
header
required

Plerion organization API key (plerion_oak_…), created by an organization admin in the Plerion app.

Path Parameters

userId
string<uuid>
required

The user id.

Query Parameters

tenantId
string<uuid>
required

The tenant the preference applies in. A PUT checks it belongs to the key's organization and answers 400 TenantNotFound otherwise; a GET or DELETE for a tenant outside the organization finds no row and answers 404 PreferenceNotFound.

Body

application/json
homeReportId
string<uuid>
required

A custom dashboard id, from GET /v1/tenant/custom-reports on a tenant key.

Example:

"3f1c7d2e-5a6b-4c8d-9e0f-1a2b3c4d5e6f"

Response

The stored preference.

data
object