Receiving error when using API
Posted Apr 05, 2022
Hi. I'm trying to update users through API using Postman. I'm using the instructions here https://developer.zendesk.com/api-reference/ticketing/users/users/#update-many-users specifically the batch update part. I'm updating emails so I'm using the user ids from the user profile web address and the new email.
I'm using the following endpoint: https://{subdomain}.zendesk.com/api/v2/users/update_many.json (I've put the real tenant name in for {subdomain}
Here is the Params I'm passing. The #'s are replacing the actual data. I've tried email addresses with ""s and without.
{
"users": [
{ "id": ########, "email": ####@#####.com},
{ "id": ########, "email": #####@####.com}
]
}
"users": [
{ "id": ########, "email": ####@#####.com},
{ "id": ########, "email": #####@####.com}
]
}
This is the message I'm getting back
{
"error": "ParameterMissing",
"description": "Parameter Both ids/external_ids and users attributes must be present is required"
}
I've even tried adding the external_id parameter but still get the same thing.
Anyone have any ideas?
Thanks
Chris
Chris
0
2
0 comments
Sign in to leave a comment.