Update Element User Access (v2.1)
PUT/sdwan/v2.1/api/elementusers/:user_id/access/:access_id
Update a specific element user access.
Request
Path Parameters
user_id stringrequired
The element user ID.
access_id stringrequired
The user access ID.
- application/json
Body
Details of the specific role for element user to be granted
element_id stringrequired
The element ID.
id string
The ID.
role stringrequired
Possible values: [SUPER
, READONLY
, MONITOR
, EVAL
]
The user role.
user_id string
The element user ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
element_id stringrequired
The element ID.
id string
The ID.
role stringrequired
Possible values: [SUPER
, READONLY
, MONITOR
, EVAL
]
The user role.
user_id string
The element user ID.
{
"element_id": "string",
"id": "string",
"role": "SUPER",
"user_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_ENUM_VALUE"
}
]
}
}
Loading...