API → UsersUpdate the user's privacy settings

Parameters

Name

Type

Req.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object 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
}