Forum Discussion
API_User
3 years agoEquinix Employee
Can't edit a circuit's bandwidth
Hi,
I have a circuit and I'm trying to change the bandwidth using PATCH /fabric/v4/connections/{id}
Here's the payload:
{ "op": "replace", "path": "/bandwidth", "value": 900 }
But I...
- 3 years ago
Solved.
I needed to wrap the JSON body in a list like so:[
{
"op": "replace",
"path": "/bandwidth",
"value": 900
}
]
API_User
3 years agoEquinix Employee
Thank you friend, I've been stuck on that for ages.
Unfortunately, running into another issue now
[
{
"errorCode": "EQ-3142558",
"errorMessage": "Json syntax error, please check request body",
"details": "Please refer the contracts for correct fields",
"correlationId": "{}-api"
}
]
Related Content
- 10 months ago
- 2 years ago