Create a User
post
http://{host}:{port}/veridata/v1/services/admin/users
Required Role: Administrator, CommandLineOperator
Create a User
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
description: string
-
emailId: string
-
groupIds: array
groupIds
Array of group ID to be mapped to user.
-
name(required): string
-
password(required): string
(password)
Enter at least 6 characters including one number, one uppercase and one lowercase letter.
Example:
{
"name":"User1",
"password":"Abc@123",
"emailId":"user1@oracle.com",
"description":"user1",
"groupIds":[
0
]
}Nested Schema : groupIds
Type:
arrayArray of group ID to be mapped to user.
Show Source
-
Array of:
integer(int64)
group Ids.
Response
Supported Media Types
- application/json
201 Response
User created successfully.
Root Schema : UserDetailsPostResponse
Type:
Show Source
object-
createdOn: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZExample:2024-02-03T10:15:30Z -
description: string
-
emailId: string
-
id: integer
user ID.Example:
1001 -
name: string
Example:
{
"id":1001,
"name":"User1",
"emailId":"abc@oracle.com",
"createdOn":"2024-02-03T10:15:30Z",
"description":"description"
}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"
}