Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Remove work address

    Posted 06-05-2025 18:06

    Laurent_VALET | 2020-04-09 07:19:28 UTC | #1

    Hello, i would like to remove the email work address of one user. Using the "patch user" api, i can change the address with a valid email address but i receive an error if i specify null or an empty string. Can you help me?

    Kind regards Laurent


    Jason_Mathison | 2020-04-09 10:34:22 UTC | #2

    Hi Laurent,

    I would assume that the API is validating that the email address that you are trying to set is at least somewhat valid, which null and "" are not.

    My typical approach for a situation like this is to watch the web client in the browser's developer console and see what it does. I deleted an email address for a user and the client removed it with a put, not a patch.

    Finally, we use email addresses as your user name, so I would guess that it is not possible to eliminate that email address from a user account.

    --Jason


    system | 2020-05-10 10:34:26 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 7514