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

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