Update Groups
The Update Groups API request updates the group with the JSON object send in the request body.
Request Type | PUT |
URL | {oauth_uri}/customers/{customerId}/groups/{groupId} |
Parameters | customerId: Valid Customer ID. groupId: Unique ID of the specific group. |
Access | - |
Response
Returns the group json object after it is successfully stored in the system.
Updating User Details
Request
PUT {oauth_uri}/customers/TestCustomer/groups/Product_Management
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"
]
}
}