number to change, and the fields to change. The rules of PATCH /v2/number/{number}/ apply to each item. When an item is not valid, the API changes nothing and answers 400 with one error object for each item, in the order of the list. A body that is not a list, or an empty list, answers 400 with non_field_errors, and so does a list of more than 200 valid items. The API changes the items in order and does not undo a change. So when it cannot change an item, it answers 400, and each item that it changed stays changed.Authorization: ********************[
{
"number": "27710000001",
"target_number": [
"27820001234"
]
},
{
"number": "27710000002",
"target_number": [
"27820001235"
]
}
]curl --location --request PATCH 'https://api.sudonum.com/v2/number/bulk/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{
"number": "27710000001",
"target_number": [
"27820001234"
]
},
{
"number": "27710000002",
"target_number": [
"27820001235"
]
}
]'[
{
"name": null,
"number": "27710000001",
"country": "ZA",
"capabilities": [
"VOICE"
],
"target_number_clid": null,
"sumi_config": null,
"show_insights_in_app": false,
"sumi_agent_config": null,
"routing_config": null,
"sip_agent": null,
"issued_date": "2026-07-20T09:00:00Z",
"billing_anniversary": "2026-08-19T09:00:00Z",
"last_called": null,
"target_number": "27820001234",
"webhooks": [],
"third_party_integrations": [],
"meta": {},
"features": [],
"tts": null,
"whisper_file": null,
"call_tracking": null,
"record_call_file": null,
"keep_number_file": null,
"voicemail_lite_file": null,
"capture_digits_file": null,
"keywords": null,
"ivr_menu": null
},
{
"name": null,
"number": "27710000002",
"country": "ZA",
"capabilities": [
"VOICE"
],
"target_number_clid": null,
"sumi_config": null,
"show_insights_in_app": false,
"sumi_agent_config": null,
"routing_config": null,
"sip_agent": null,
"issued_date": "2026-07-20T09:00:00Z",
"billing_anniversary": "2026-08-19T09:00:00Z",
"last_called": null,
"target_number": "27820001235",
"webhooks": [],
"third_party_integrations": [],
"meta": {},
"features": [],
"tts": null,
"whisper_file": null,
"call_tracking": null,
"record_call_file": null,
"keep_number_file": null,
"voicemail_lite_file": null,
"capture_digits_file": null,
"keywords": null,
"ivr_menu": null
}
]