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.
Nested Schema : groupIds
Type:
array
Array 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.sssZ
Example:2024-02-03T10:15:30Z
-
description: string
-
emailId: string
-
id: integer
user ID.Example:
1001
-
name: string
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.