NetworkInterfacesApi
Method
HTTP request
Description
datacentersServersNicsDelete
Examples
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD',
apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Delete NICs
api_instance
.datacentersServersNicsDelete({
datacenterId: datacenterId_example,
serverId: serverId_example,
nicId: nicId_example,
pretty: true,
depth: 56,
xContractNumber: 56,
options: {}
})
.then((response) => console.log(response.data))
.catch((error) => console.log(error.response.data));Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacentersServersNicsFindById
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacentersServersNicsGet
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacentersServersNicsPatch
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacentersServersNicsPost
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacentersServersNicsPut
Examples
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
Was this helpful?