How to update more than 2 users in the same API call

Have more questions? Submit a request

2 Comments

  • Lee Dickson
    Comment actions Permalink

    Is it possible to update the user fields with this API call?

    i.e.

    {
    "users": [
    {

       "id": {user_id},

       "user_fields": {
              "userfield1": false,
              "userfield2": false,
             "userfield3": false  }
    },
    {
        "id": {user_id},

        "user_fields": {
              "userfield1": false,
              "userfield2": false,
              "userfield3": false  }
    }
    ]
    }

    0
  • Matteo
    Comment actions Permalink

    Hello Lee,

    I haven't personally tested your use-case, but it should be possible.

    That being said, the easiest way to do it is by leveraging the appropriate endpoint for user fields: https://developer.zendesk.com/rest_api/docs/support/user_fields#update-user-fields

    Hope this helps!

    0

Please sign in to leave a comment.

Powered by Zendesk