Userbase

Docs : API : Update User

The Update User API lets you modify the protectedProfile property of any of your users by providing the ID of a user from your account. The user ID can be obtained from the Admin panel, or from the signUp, signIn, or init methods in the Userbase SDK.

    
      curl 'https://v1.userbase.com/v1/admin/users/$USER_ID' \
        -XPOST \
        -H "Authorization: Bearer $ACCESS_TOKEN" \
        -H "Content-Type: application/json" \
        --data-binary '{ "protectedProfile":  {"paid", "true"} }'
    
  

Parameters