Last updated: September 23, 2026

Add Users to Group

Add Users to Group. Use 'assign' to add users, 'deassign' to remove users

Request

POSThttps://superadminuser.miniorange.in/services/api/directory/v1/admin/groups/:guid/users

Authentication headers (required on every request)

Customer-Key
Super Admin ID for the actor account.
Timestamp
Milliseconds since epoch (e.g. Date.now()).
Authorization
SHA-512 of superAdminId + timestamp + apiKey.
X-Target-Customer-Id
Customer tenant the Super Admin is acting on.

Parameters

NameTypeRequiredDescription
actionStringOptionalUse 'assign' to add users, 'deassign' to remove users
guidStringRequiredPath parameter

Request body

{
  "userList": [
    "5b9a32e3-e44e-4c49-bd97-965d300f0ac2"
  ],
  "attributes": []
}

// If you have group membership custom fields configured
// {
//   "userList": [
//     "5b9a32e3-e44e-4c49-bd97-965d300f0ac2"
//   ],
//   "attributes": [
//     {
//       "key": "customAttribute1",
//       "label": "Address",
//       "value": "Pune"
//     }
//   ]
// }
// Use the real key / label from your tenant’s group field config (tests use customAttribute1).

No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.

Copied