Skip to content

Update USB configuration.

POST
/api/operate/namespaces/{namespace}/sites/{site}/vpm/usb/{node}/config
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/operate/namespaces/example/sites/example/vpm/usb/example/config \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "config": { "usb_allow_list_enable": true }, "namespace": "example", "node": "example", "site": "example" }'

Update USB configuration on the node.

Examples of this operation.

namespace
required
string

Namespace Namespace for which the request is sent (system)

site
required
string

Site Name Name of the site.

node
required
string

Node Name Name of the node.

Media typeapplication/json
USB Update Config Request

Updates USB configuration.

object
config
object
usb_allow_list_enable
usb_allow_list_enable

Enablement of USB rules list. If enabled, all new connected USB devices must be authorized.

boolean format: boolean
namespace
Namespace

Namespace for which the request is sent (system)

string
>= 6 characters <= 1024 characters
node
Node Name

Name of the node.

string
<= 1024 characters
site
Site Name

Name of the site.

string
<= 1024 characters
Examplegenerated
{
"config": {
"usb_allow_list_enable": true
},
"namespace": "example",
"node": "example",
"site": "example"
}

A successful response.

Media typeapplication/json
USB Update Config Response

Response of Updates USB configuration.

object
Examplegenerated
{}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example