POST - /admin/groups
Description
This API adds multiple group records to the tenant that has the external key sent in the request headers or specified as body param.
Input
Type: application/json
Name | Source | Mandatory | Type | Description |
---|---|---|---|---|
tenant | body | NO | Â | set this if you want the groups to be added for a specific tenant not based on the ext key |
id | body.tenant | YES | Â | Â |
code | body.code | YES | Â | Â |
groups | body | YES | Array | array of group object |
code | body.groups | YES | String | Group Code, Alphanumeric - 20 letters Maximum |
name | body.groups | YES | String | Group Name |
description | body.groups | YES | String | Group Description |
packages | body.groups | YES | Array | Group Packages |
packages | body.groups.packages | YES | Array | array of product packages |
product | body.groups.packages | YES | string | the product code |