User Settings
Updates the user's preference for bucket monitoring. Requires authentication. The userId
is extracted from the JWT.
Authorizations
Body
bucketMonitoringbooleanRequired
Whether bucket monitoring should be enabled (true
) or disabled (false
).
Responses
200
Successfully updated bucket monitoring preference
application/json
401
Unauthorized (missing or invalid token)
500
Internal Server Error
post
/api/v2/bucketMonitoringPOST /api/v2/bucketMonitoring HTTP/1.1
Host: api-dev.jsmon.sh
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"bucketMonitoring": true
}
{
"message": "Bucket monitoring set to true"
}