Skip to main content
PATCH
/
api
/
account
/
dashboard-visibility
cURL
curl --request PATCH \
  --url https://api.production.hyperoru.com/api/account/dashboard-visibility \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updates": [
    {
      "account_id": 123,
      "show_on_dashboard": true
    }
  ]
}
'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Body

application/json
updates
object[]
required

Response

Dashboard visibility updated

Generic { "status": "success", "message": "..." } ack used by handlers whose primary purpose is side effects (toggles, deletes, async starts).

status
string
required
Example:

"success"

message
string | null