Replace User

put

http://{host}:{port}/veridata/v1/services/admin/users/{Id}

Required Role: Administrator, CommandLineOperator

Replace User

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
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
Nested Schema : schema
Type: object
Show Source
Example:
{
    "emailId":"abc@oracle.com",
    "description":"current user"
}
Back to Top

Response

Supported Media Types

200 Response

User updated successfully.

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}
Back to Top