API → Users → Update the user's privacy settings
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
put
/user/privacy$ curl -X PUT "https://api.zoo.dev/user/privacy" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"can_train_on_data": false
}'
200 OK
Response{
"can_train_on_data": true
}