Update mobile field with empty value in users PUT API

This topic has 4 replies, 4 voices, and was last updated 6 years ago by Bill Nelson.

  • Author
    Posts
  • #14395
     Firos
    Participant

    How to update mobile field with empty value in users PUT API? (It doesn’t allows null/empty)

    #14405
     bthalmayr
    Participant

    If an LDAP Directory Server is used as user data store, then empty values should not be allowed at all as there an ‘blank’ is a value like any other.

    Why would you save an empty value?

    #14407
     Firos
    Participant

    My requirement is,

    User have a mobile number entry in OpenDJ. Need to delete that mobile number while user update API call. How its possible?

    • This reply was modified 6 years ago by Firos.
    #14451
     Peter Major
    Moderator
    #14492
     Bill Nelson
    Participant

    @peter-major your statement, “By default the DirectoryString syntax does not allow empty values,” is true for OpenDJ, but not widely true for other (older) directory servers. For instance, ODSEE allows empty values for DirectoryString attributes as it did not follow schema rules as nicely as we would have liked it to. This makes migrations particularly frustrating from older (more relaxed) servers to those which are more schema complaint.

    But your comments in the bugster report was definitely helpful to me in other ways.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?