Replace User Group
put
http://{host}:{port}/veridata/v1/services/admin/usergroups/{Id}
Required Role: Administrator, CommandLineOperator
Replace User Group
Request
Path Parameters
- Id(required): integer(int64) group ID
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source object
- accessIds: array accessIds Array of access to be mapped to group.
- description: string
- userIds: array userIds Array of users to be mapped to group.
Example:
{ "description":"value", "accessIds":[ 0 ], "userIds":[ 0 ] }
Nested Schema : accessIds
Type:
array
Array of access to be mapped to group.
Show Source - Array of: integer(int64) access ID.
Nested Schema : userIds
Type:
array
Array of users to be mapped to group.
Show Source - Array of: integer(int64) user ID.
Response
Supported Media Types
- application/json
200 Response
User Group 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" }