// This file is autogenerated, DO NOT EDIT
// rest-api/security/update-user-profile-data.asciidoc:106

[source, python]
----
resp = client.security.update_user_profile_data(
    uid="u_P_0BMHgaOK3p7k-PFWUCbw9dQ-UFjt01oWJ_Dp2PmPc_0",
    labels={
        "direction": "east"
    },
    data={
        "app1": {
            "theme": "default"
        }
    },
)
print(resp)
----
