Problems with org_id

$url = '' . $IDPipe . '?api_token=
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($Valor));
$output = curl_exec($ch);

Hello, when I change the value of org_id everything works perfect, but when I have to leave it “” or null it doesn’t take the change. Do you know why it can happen?
I need to get all org_id out of said deal
Thanks in advance

Hello Cyber,

You cannot leave null or “” within the org_id field, if you want to remove an org from a deal then please add “0” instead. There is no org that has the ID of 0, which is why our API translates that to removing an org. If I misunderstood your situation please do elaborate on what exactly you are trying to do and using which endpoint(s)?


Hi Daniel!,
Perfect, i put ID in 0 and work very well.