This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Update Server Interface

1 - 1.3

put /v1/servers/{server_id}/interfaces/{port_id}

Description

Update Server Interface.

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

TypeNameDescriptionSchemaDefault
pathserver_id
required
Server ID
Example : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f
stringNone
pathport_id
required
Port ID
Example : 91424c08-0b26-49fb-9808-ed042292ceef
stringNone
bodybody
required

ServerInterfaceUpdateRequest

Responses

HTTP CodeDescriptionSchema
202AcceptedNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/servers/{server_id}/interfaces/{port_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = virtualserver 1.3"

Request body

{
    "fixed_ip_address": "192.169.3.2",
    "subnet_id": ""
}

Example HTTP response

Response 202

2 - 1.2

put /v1/servers/{server_id}/interfaces/{port_id}

Description

Update Server Interface.

State ACTIVE (SUPPORTED)

VersionNot Before
1.220260831

Parameters

TypeNameDescriptionSchemaDefault
pathserver_id
required
Server ID
Example : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f
stringNone
pathport_id
required
Port ID
Example : 91424c08-0b26-49fb-9808-ed042292ceef
stringNone
bodybody
required

ServerInterfaceUpdateRequest

Responses

HTTP CodeDescriptionSchema
202AcceptedNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/servers/{server_id}/interfaces/{port_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = virtualserver 1.2"

Request body

{
    "fixed_ip_address": "192.169.3.2",
    "subnet_id": ""
}

Example HTTP response

Response 202

3 - 1.1

put /v1/servers/{server_id}/interfaces/{port_id}

Description

Update Server Interface.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260531

Parameters

TypeNameDescriptionSchemaDefault
pathserver_id
required
Server ID
Example : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f
stringNone
pathport_id
required
Port ID
Example : 91424c08-0b26-49fb-9808-ed042292ceef
stringNone
bodybody
required

ServerInterfaceUpdateRequest

Responses

HTTP CodeDescriptionSchema
202AcceptedNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/servers/{server_id}/interfaces/{port_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = virtualserver 1.1"

Request body

{
    "fixed_ip_address": "192.169.3.2",
    "subnet_id": ""
}

Example HTTP response

Response 202

4 - 1.0

put /v1/servers/{server_id}/interfaces/{port_id}

Description

Update Server Interface.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

TypeNameDescriptionSchemaDefault
pathserver_id
required
Server ID
Example : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f
stringNone
pathport_id
required
Port ID
Example : 91424c08-0b26-49fb-9808-ed042292ceef
stringNone
bodybody
required

ServerInterfaceUpdateRequest

Responses

HTTP CodeDescriptionSchema
202AcceptedNone
401UnauthorizedNone
403ForbiddenNone
404Not FoundNone

Example HTTP request

Request path

/v1/servers/{server_id}/interfaces/{port_id}

Request header

"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = virtualserver 1.0"

Request body

{
    "fixed_ip_address": "192.169.3.2",
    "subnet_id": ""
}

Example HTTP response

Response 202