System Administration >
Configuration
>
Grub
Update node GRUB user properties
Updates the GRUB user properties.
Request:
Method:
PUT
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/grub/{grub-username}
/api/v1/cluster/{cluster-node-id}/node/grub/{grub-username}
/api/v1/node/grub/{grub-username}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeGrubUserProperties
+
NodeGrubUserProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
password
Password for the GRUB user
string
username
Username of the GRUB user
string
Example Request:
PUT https://<nsx-mgr>/api/v1/node/grub/root { "password": "Str0ng_Pwd!Wins$" }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeGrubUserProperties
+
NodeGrubUserProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
password
Password for the GRUB user
string
username
Username of the GRUB user
string
Example Response:
{ "username": "root" }
Required Permissions:
crud
Feature:
system_administration_passwd_mgmt
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable