Skip to content
Start in Cloud

Update site report subscription

PUT
/api/user/report-subscriptions/sites/{site_id}
curl --request PUT \
--url https://hitkeep.com/api/user/report-subscriptions/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "daily": true, "monthly": true, "weekly": true }'

Updates per-site report subscription frequencies for the authenticated user.

site_id
required
string format: uuid

Site UUID.

Media type application/json
object
daily
boolean
monthly
boolean
weekly
boolean
Example generated
{
"daily": true,
"monthly": true,
"weekly": true
}

Updated

Invalid site ID or request

Media type application/json
object
message
string
Example generated
{
"message": "example"
}