Phone numbers not being replaced when updating via Zapier

Beantwortet

5 Kommentare

  • Ahmed Zaid
    User Group Leader Community Moderator
    Zendesk Luminary

    Hi Manuel Mora,

    This is expected behaviour. I am not familiar with Zendesk Zaps, but basically, you will need to utilise additional API end point. So, maybe you will need to create your own actions.

    You will need to perform extra steps after adding a user email address or phone number with the intent of replacing existing ones:

    1. List user identities or sideload them with the user API and iterate over them to obtain the new and old identity ids
    2. Set the new identities primary
    3. Delete old identities

    Using these API docs you should have the information you need create the additional calls. I hope that helps.

    1
  • Cynthia Kam

    Hi Ahmed Zaid 
    I saw on the Delete Identity page that this is only allowed for Agents. Does this mean we are not able to do this for end-users? 

    0
  • Manuel Mora

    Thank you very much Ahmed, I will have to give this a try next week when I have some more free time to tinker.  Appreciate your quick help!

    0
  • Ahmed Zaid
    User Group Leader Community Moderator
    Zendesk Luminary

    Cynthia Kam

    An agent can certainly perform the action FOR your end users. End users are allowed to add identities, but not remove old ones. Probably a security measure.

    I think it is unlikely that you would want users to interact with the API themselves to manage their own identities to that extent anyway. The most likely use case would be for SSO or similar middleware that is managed by admins receiving authorised input.

     

    0
  • Cynthia Kam

    Thank you Ahmed! 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk