URL | POST {{basepath}}/hosting/:hosting_id/ |
---|---|
Category | Hosting |
Allows you to update the hosting object.
the request body should contain a HostingUpdateRequest object.
Returns a HostingGetResponse object.
:hosting_id | {{hosting_id}} |
---|
{
"metadata": {
"mdhostingid": "blorp"
}
}
PATCH {{basepath}}/hosting/:hosting_id
{
"package": "basic2"
}
:hosting_id | {{hosting_id}} | The hosting identifier |
---|
409 Conflict
{
"responseId": "1_47b801880c83a83c22936089098df360d7fa336d",
"status": "error",
"errorCode": "would_not_change_anything",
"errorMessage": "The hosting is already this package"
}