Accelerate the Value of Data

Create Groups

The Create Groups API request creates the groups with the tenant specific roles configured for the customer. Request body must be an array with group details.

Table 1. Create Groups Details
Request Type POST
URL {oauth_uri}/customers/{customerId}/groups
Parameters customerId: Valid Customer ID.
Access -

Response

Returns the groups json array after successfully stored in the system.

Create Groups Details

Request

POST {oauth_uri}/customers/TestCustomer/groups
Headers: Authorization: Bearer <Access-Token>
Request Body:
[ {
        "groupId": "Product_Management",
        "groupName": "Product_Management",
        "description": "A Group for Product Management",
        "roles": {
            "L3_Configurator": [
                "jas88zr17"
            ],
            "Read_Access": [
                "jas88zr17"
            ],
            "Customer_Admin": [
                "jas88zr17"
            ],
            "Tenant_Admin": [
                "jas88zr17"
            ],
            "ROLE_ADMIN_TENANT": [
                "jas88zr17"
            ]
        }
   }
 ]  
            

Response

[ {
        "groupId": "Product_Management",
        "groupName": "Product_Management",
        "description": "A Group for Product Management",
        "roles": {
            "L3_Configurator": [
                "jas88zr17"
            ],
            "Read_Access": [
                "jas88zr17"
            ],
            "Customer_Admin": [
                "jas88zr17"
            ],
            "Tenant_Admin": [
                "jas88zr17"
            ],
            "ROLE_ADMIN_TENANT": [
                "jas88zr17"
            ]
        }
   }
 ]