Modify an existing connection's attributes

Prev Next
Patch
/api/v1/devices/{deviceId}/connections/{cepId}
Security
HTTP
Type bearer
Path parameters
deviceId
integerRequired

The ID of the device

cepId
integerRequired

The ID of the connection endpoint

Body parameters

The connection endpoint attributes to modify

Expand All
object
attributes
object
enableFileTransfer
string
Exampletrue/false
enableWallpaper
string
Exampletrue/false
not_send_proxy_headers
boolean
password
string
paths
object
Example{ "api_v1": "/api/v1/path/*" }
privatekey
string
privatekey_filename
string
request
object
header_rewrite
object
rules
Array of object (HeaderRewrite)
object
find
string
header_name
string
paths
Array of string
string
replace
string
replace_all
boolean
headers
object
add
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
append
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
remove
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
rename
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
replace
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
response
object
body_rewrite
object
apply_default_rules
boolean
rules
Array of object (ResponseBodyRewrite)
object
find
string
paths
Array of string
string
replace
string
replace_all
boolean
header_rewrite
object
apply_default_rules
boolean
rules
Array of object (HeaderRewrite)
object
find
string
header_name
string
paths
Array of string
string
replace
string
replace_all
boolean
headers
object
add
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
append
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
remove
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
rename
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
replace
Array of object (CustomHeader)
object
name
string
paths
Array of string
string
value
string
username
string
label
string
ExampleConnection name
path
string
port
integer
ports
object
portRanges
object
end
string
start
string
protocol
Array of string
string
subdomain
string
Responses
200

OK

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
Examplefalse
400

Bad Request Body

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
401

Unauthorized

object
error_code
integer
error_message
string
error_status
boolean
403

Forbidden - Connection in pending state

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
404

Not Found

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean
500

Internal Server Error

Expand All
object
authorization
boolean
Exampletrue
data
object
message
string
error_code
integer | null
error_message
string | null
error_status
boolean