Update connection status of a given endpoint

Request
path Parameters
id
required
string
connectionStatus
required
string (ConnectionStatus)
Enum: "CONNECTED" "POTENTIALLY_DISCONNECTED" "DISCONNECTED" "NEVER"
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

patch/endpoint-control-service/v1/utm-endpoint/{id}/connectionStatus/{connectionStatus}
Request samples
curl -i -X PATCH \
  'http://endpoint-control-service:8080/endpoint-control-service/v1/utm-endpoint/{id}/connectionStatus/{connectionStatus}'
Response samples
application/json
{
  • "message": "Field \"name\" cannot be null",
  • "status": 400,
  • "error": "Bad Request",
  • "timestamp": 1413315159949,
  • "exception": "org.springframework.web.server.ResponseStatusException",
  • "path": "/lte-endpoint"
}