Update Destination Protocol For Route
This endpoint updates the protocol of a route destination (app, port and weight cannot be updated)
The unique identifier for the resource
The GUID of the route destination
Protocol of the destination
{
"protocol": "string"
}
Protocol of the destination
Successfully updated protocol of the destination
{
"guid": "string",
"app": {
"guid": "string",
"process": {
"type": "string"
}
},
"weight": 0,
"port": 0,
"protocol": "string",
"created_at": "string",
"updated_at": "string",
"metadata": {
"labels": {
"labels": "string"
},
"annotations": {
"annotations": "string"
}
},
"links": {
"self": {
"href": "string",
"method": "string"
},
"route": {
"href": "string",
"method": "string"
}
}
}
guid
app
weight
port
protocol
created_at
updated_at
Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource.
links
Unauthorized
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Forbidden
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Not Found
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Unprocessable Entity
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"protocol":"string"}'