Update Many Organizations
PUT {{baseUrl}}/api/v2/organizations/update_many?ids=<string>&external_ids=<string>
Bulk or batch updates up to 100 organizations.
Bulk update
To make the same change to multiple organizations, use the following endpoint and data format:
https://{subdomain}.zendesk.com/api/v2/organizations/update_many.json?ids=1,2,3
{
"organization": {
"notes": "Priority"
}
}
Batch update
To make different changes to multiple organizations, use the following endpoint and data format:
https://{subdomain}.zendesk.com/api/v2/organizations/update_many.json
{
"organizations": [
{ "id": 1, "notes": "Priority" },
{ "id": 2, "notes": "Normal" }
]
}
Response
This endpoint returns a job_status
JSON object and queues a background job to do the work.
Use the Show Job Status endpoint to check for the job's completion.
Allowed For
- Admins
- Agents
Agents with no permissions restrictions can only update notes
on organizations.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | A list of organization ids | |
external_ids | string | A list of external ids |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"job_status":{"id":"8b726e606741012ffc2d782bcb7848fe","message":"Completed at Fri Apr 13 02:51:53 +0000 2012","progress":2,"results":[{"action":"update","id":380,"status":"Updated","success":true}],"status":"completed","total":2,"url":"https://company.zendesk.com/api/v2/job_statuses/8b726e606741012ffc2d782bcb7848fe.json"}}