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
Please update the content type in the patch request header:
-H 'Content-Type: application/json-patch+json'
I hope this helps!
Related Content
- 9 months ago
- 2 years ago