[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Update VIdm User Role
DescriptionUpdate role for user mapped through VMware Identity Manager. Only admin users can perform this action.
Request
URLURL
https://vrni.example.com/api/ni/settings/users/vidm
Path Parameters
Path Parameters
string
id
Required
The Entity ID of object requestion information on
Request Body
Request Body
{
"display_name": "alley martin",
"domain": "vidmlabs.com",
"role": "ADMIN",
"username": "alleymartin123"
}
string
display_name
Optional
Provide user’s display name (could be “givenName familyName”)
string
domain
Optional
Provide domain name to which user belongs to.
string
username
Optional
Provide username (domain should not be part of username).
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
UserResponse
of type(s) application/json
{
"display_name": "alley martin",
"domain": "vidmlabs.com",
"id": "alleymartin123@vidmlabs.com",
"role": "ADMIN",
"user_type": "VIDM",
"username": "alleymartin123"
}
string
display_name
Optional
User’s display name
string
domain
Optional
Domain name to which group belongs to.
string
id
Optional
Unique identifier assigned to user.
string
username
Optional
Username of the user
Errors
ApiError
400
Bad Request
ApiError
401
Unauthorized
ApiError
403
Forbidden
ApiError
404
Not Found
ApiError
409
Already Exists
500
Internal Error
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"display_name":"alley martin","domain":"vidmlabs.com","role":"ADMIN","username":"alleymartin123"}' https://vrni.example.com/api/ni/settings/users/vidm
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put