Replace User
put
http://{host}:{port}/veridata/v1/services/admin/users/{Id}
Required Role: Administrator, CommandLineOperator
Replace User
Request
Path Parameters
-
Id(required): integer(int64)
user ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
groupIds: array
groupIds
Array of group ID to be mapped to user.
Match All
Show Source
Example:
{
"emailId":"abc@oracle.com",
"description":"user",
"groupIds":[
0
]
}
Nested Schema : groupIds
Type:
array
Array of group ID to be mapped to user.
Show Source
-
Array of:
integer(int64)
group Ids.
Nested Schema : schema
Type:
Show Source
object
Example:
{
"emailId":"abc@oracle.com",
"description":"current user"
}
Response
Supported Media Types
- application/json
200 Response
User updated successfully.
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}
404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}
500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
Example:
{
"errCode":"OGGV-00001",
"errMsg":"Error message"
}