Sign up
    Docs
    • API
      • Authentication
      • Errors
      • ML
      • Modeling
      • API Calls
      • API Tokens
      • File
      • Meta
      • Orgs
      • Payments
      • Service Accounts
      • Shortlinks
      • Unit
      • Users
        • Get your user.
        • Update your user.
        • Delete your user.
        • Get extended information about your user.
        • Get the OAuth2 providers for your user.
        • Get a user's org.
        • Get the privacy settings for a user.
        • Update the user's privacy settings.
        • Get a session for your user.
        • Get the shortlinks for a user.
        • Create a shortlink for a user.
        • Update a shortlink for a user.
        • Delete a shortlink for a user.
    • CLI
    • KCL language reference
    • KCL standard library
    • KCL Samples
    • Tutorials
    • Glossary
    • FAQ

    API → UsersGet the privacy settings for a user

    Parameters

    No parameters

    Returns

    • 200 OK

      successful operation

      Name

      Type

      Req.

      body

      object
      optional
      Object Properties
      • can_train_on_data

        boolean
        optional
    get
    /user/privacy
    $ curl "https://api.zoo.dev/user/privacy" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "can_train_on_data": false
    }