Create User Group

post

http://{host}:{port}/veridata/v1/services/admin/usergroups

Required Role: Administrator, SuperUser, CommandLineOperator

Create User Group

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{
    "name":"AdminGroup",
    "description":"admin",
    "accessIds":[
        0
    ]
}
Nested Schema : accessIds
Type: array
Array of access ids to be mapped to User Group.
Show Source
Back to Top

Response

Supported Media Types

201 Response

User Group created successfully
Body ()
Root Schema : UserGroupPostResponse
Type: object
Show Source
Example:
{
    "id":1001,
    "name":"UserGroup1",
    "description":"group1",
    "isModifiable":"true",
    "createdOn":"2024-02-03T10:15:30Z"
}

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