/instance/edit

Edit linked instance

Request

HTTP Method: POST
Content Type: application/json

Parameters

Property

Type

Description

Required

Property

Type

Description

Required

host

string

host of instance to edit

required

ignore_errors

boolean

apply edits even if connection to instance fails

instance

string

name of instance to edit

port

integer

port of instance to edit (non-negative)

set_auth_type

string

new value for authentication type (possible values: 'SQL' and 'WIN')

set_password

string(password)

new value for password

set_port

integer

new value for port (non-negative)

set_username

string

new value for username

{ "params": { "host": "string", "ignore_errors": false, "instance": "string", "port": 123, "set_auth_type": "SQL", "set_password": "string", "set_port": 123, "set_username": "string" } }

Response

HTTP Status: 200

Content Type: application/json

Response

Property

Type

Description

Property

Type

Description

error

object of type error_response

error response

result

object of type instance_info

SQL Server instance information

successful

boolean

response with error or not

error_response

Property

Type

Description

Property

Type

Description

message

string

error message

instance_info

Property

Type

Description

Property

Type

Description

authentication_type

string

authentication type (possible values: 'SQL' and 'WIN')

host

string

host running instance

instance_name

string

name of instance

port

integer

port number of instance

username

string

user name for authentication to instance

{ "error": { "message": "string" }, "result": { "authentication_type": "SQL", "host": "string", "instance_name": "string", "port": 123, "username": "string" }, "successful": true }

HTTP Status: 400

Content Type: application/json

Response

Property

Type

Description

Property

Type

Description

error

object of type error_response

error response

successful

boolean

always false

error_response

Property

Type

Description

Property

Type

Description

message

string

error message

{ "error": { "message": "string" }, "successful": false }